refs #13,#14 Fix packaging for JNI and package names, get first working
implementation of use of prefs to store OPTIONS