Upgrade to Gradle 2.x

The Sonar server, sonar.spring.io, was recently upgraded and is no
longer compatible with the Sonar client that's used by Gradle 1.x.
This commit upgrades the build to Gradle 2.x; restoring compatibility
with sonar.spring.io.

See gh-9