Updates gradle plugin version and gradle version to latest

This allows the project to be imported with the latest Android Studio version (0.5.2).
Also removes duplication between `build.gradle` files (the repositories closure)