big refactorying of mongo DB configuration
Merge branch 'master' of https://github.com/appsgate2015/appsgate