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 -7 +7 +10 tip

mercurial