code cleanup
upgrade Alfresco 5
upgrade Gradle 2.0