Merge pull request #15 from sourcegraph/build-cleanup

Cleaned up the build process.
Added another test case: java-gradle-sample