Various tweaks to get our Java API to work with Nashorn. Also added test execution for Nashorn but is currently commented out until I can figure out how to get Cloudbees to use Java 8 (but all passes locally). Also commented out the DynJS execution as there is a stackoverflow that has been introduced because of changes in datagram.js, that is specific to the DynJS engine