Update build.gradle to newer buildtools.

Newer android studio versions now mandate at least build tools 20.0.0 and gradle 0.12+
So update the gradle file for this.