Add initial build.gradle and move source directories into Gradle's directory scheme for Java.
Remove root extlib. Gradleize jobtype plugin.