Get rid of calls to cmp builtins since it was removed in Python 3:
- for the tests, the assignment to sortTestMethodsUsing is removed altogether since the default is the built-in ordering for strings;
- for the call in the TestsuiteDB.Order class, we define the rich comparison methods that have replaced cmp;
- for the stats module, we use equality expressions since only the equality value is needed.
Note that one of the uses of cmp in the stats module is dead but removal
of the dead code is kept for future work to keep a separation of concern
between commits.