support gradle build

Here is a minimal configuration to support building with [Gradle][g] and thus the [new Android build system][b].

Holler if you have any questions, and thanks for the switch backport!

[g]: http://gradle.org/
[b]: http://tools.android.com/tech-docs/new-build-system