Build with Gradle

Switches building with Maven to Gradle. Checkstyle is supported,
but unit tests are currently ignored. This updates the directory
structure as recommended for Gradle/Maven.