Build with Gradle

Switches building with Maven to Gradle. Checkstyle is supported,
but unit tests are currently ignored. This updates the directory
structure recommnded for Gradle/Maven. A gradle task to produce apklibs
is also added.