gradle / AndroidStudio integration

This does the following:

* Gradle build files
* Test and prod configurations in one source tree
* Uses BuildConfig (supersedes the use of package name)