Add build.gradle, for use by Travis-CI.

This is based heavily on https://github.com/pestrada/android-tdd-playground,
which is licensed under the MIT license.
Add Travis-CI configuration file.

This will build and test the project using Gradle on every commit or
pull request.