Adding dependency functions for integration tests
Merge branch 'develop' of bitbucket.org:prolificinteractive/mabi into develop
Adding access to core mongo database