Rework Antlr integration to not require a compile or runtime dependency on Antlr for Gradle.

Also fixed problem with convention mapped antlr configuration.