Updates build.gradle for Jenkins CI

* Replaces `clean test jar` with `clean test install` as default tasks
* Adds UTF-8 encoding for `compileJava`, `compileTestJava`, and `javadoc` tasks