j3dutils: add workaround for appcontext bug in Java 7 u25

As explained here:
http://stackoverflow.com/questions/17223304/appcontext-is-null-from-rmi-thread-with-java-7-update-25

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>