moved management of dependencies to libraries.gradle; added mockito to deps
Merge branch 'feature/modern-gradle'