[v10r2] Python 3 client fixes
As usual, this should be reviewed commit-by-commit as there are some trivial-yet-large commits included. With these fixes most (all?) of the LHCb certification client tests pass with Python 3 and DIRAC's integration branch.
BEGINRELEASENOTES
*Python 3 New: Initial Python 3 client compatibility
ENDRELEASENOTES
Edited by Chris Burr