More Python 3 rework

Port to Python 3

Yet more fixes

whitespace

Added ability to define commands into the manifest

Added .py

Fix .cset

Mercurial handling major overhaul. Also get some stuff ready for Python 3

(0) -100 -30 -10 -8 +8 +10 tip

mercurial