Improve gradle build
Upgrade to gradle 1.10
Fix indentation
Fix checkstyle violations