Cleaned up the build file, extracted the deployment stuff into a separate build file, and added support for code coverage with JaCoCo