Gradle upgraded to support Android Studio 1.0

Updated Gradle versions so they work with Android Studio 1.0.

@emanuelez @kneth @bmunkholm