Cleanup: Git/Hg commands separated out
cleanup
cleanup: Lincensing separated out
cleanup: Make Pep8/pylint happier
Partial rewrite

commands is dead
logging happens places
fewer giant monolithic functions