Make build Gradle 1.11+ compatible (and add Gradle wrapper)

As a follow-up on issue #21 that I created, I fixed the last issues in build.gradle to make it compatible with Gradle 1.11+

And for completeness, I added the Gradle wrapper.

Hope you can work with this and can solve issue #21 :smile: