bugfix of database closing
bugfixes related to hanging new branch creation
Merge branch 'master' of https://github.com/webgme/webgme