Remove mercurial control files.
Update submodules to GitHub.
Ignore generated files.