Update to Gradle 2.0

http://www.gradle.org/docs/current/release-notes
Merge pull request #343 from rtyley/gradle-2.0

Update to Gradle 2.0