Update wrapper to Gradle 1.4

The Gradle wrapper was still referencing to Gradle 1.1. Newer Gradle versions offers some nice improvements over Gradle 1.1, like lower memory usage, improvements in dependency management, and better test reports.