Patch build.gradle to run in latest AS

'com.android.tools.build:gradle:0.4' demands gradle 1.6. No reason for
this. With 0.5.+, gradle 1.8 works fine.

'compiledSdkVersion 8' requires API level 8 to be installed, which is
unnecessary and a hassle.