CMS-3921 Use javax.script API for scripting classes. Removed use of Content in lib.