New build system; now using Gradle instead of Apache Ant.

Note that directory names have been changed to better conform to
conventions of Gradle (and Maven). Changes may be required for scripts
that set the classpath.