Fixed broken javascript on login page
Fix unit tests for mercurial commands

- Includes changes for using rmdir instead of purging the copy
- Includes changes for looking for mercurial locks before pursing with commands
Fix unit test for dependency failure
Always init git submodules when updating (handles the case where some branches in the repo have submodules and some don't)
Stopped locking the pulse for the autobahn server
Merge branch 'staging' of https://github.com/Unity-Technologies/buildbot into staging
Fixed a crash on the autobahn server and cleared error count on success
Catching errors so that we can continue as normal
Merge branch 'staging' into jsunittests