Port over commit 99f4319763a9 from jdk8u.

This supports changes to the way JSAdapter works in Nashorn.
Switch to Nashorn from Rhino.
Update README to current status.
Make OQL->JS code generation more readable.