Updated build.gradle to latest version (0.11.+)

This PR is a replacement for #17. He forgot to update Gradle to 1.12 and to change the travis config file.