Move tests into more logical JVM packages
Add regTest and consensusTest Gradle tasks

(and use them in the test-msc-*.sh shell scripts)