opibuilder: Add preference java_script_engine=RHINO or JDK

Default to the engine in opibuilder/lib/rhino/js.jar, but allow testing
the JDK's Rhino or Nashorn.
See #723