Clean up hgweb imports
Use demandloading
Pull function-local imports up to demandload
Scope hg and ui bits
removing bthis update spans a branch affecting the following files: baborting update spanning branches!(use update -m to merge across branches or -C to lose changes)