Creating the Thali Device Hub for Java!!!

Work arounds for: https://github.com/couchbase/couchbase-lite-java/issues/4
and https://github.com/couchbase/couchbase-lite-java-core/issues/117

Also upgraded the javafx plugin for gradle to release 0.4.0