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.
Merge pull request #900 from Sonicadvance1/update-gradle

Update build.gradle to newer buildtools.