fix project structure to match expected

Gradle expects sources to be in `src/main/java`, not `src/main`. Move
all of the files so that this expectation is upheld. This fixes the
previous problem with the JavaCC plugin, so remove the workaround.
There was never a bug, just my own ignorance!