Gradle

@bhariharan 

There are some test failures, and I can't get most of them to run since they use your email address :smiley: You can run all the tests by starting an emulator and running: 

`./gradlew connectedCheck`