Major refactor

Adds two basic tests for gatekeeper and upmerge process.
Removes Fogbugz dependency and switches to environment variables.
Makes AdvancedSCMManager extendible and seperates multiscm choosing code from SCMManager.
Adds tests for mutliscm choosing code and mercurial backend.
Copy of LogMessageSearcher because of no fogbugz dependency.


Fixes #1