Add missing globals to Rhino

This commit adds two globals to the Rhino environment. importClass and Packages are documented here: https://developer.mozilla.org/en-US/docs/Rhino/Scripting_Java.