Support the 'scalaConsole' Gradle task.

Also compile test classes using zinc, not ant.