Updates build.gradle for Jenkins CI

* Replaces 'jar' with 'install' in default tasks
* Adds UTF-8 encoding for java and javadoc task