Switch to new gradle model with subprojects
Gradle supports test basic configuration. (one test removed due to conflict in dexing mockito and cglib licences...