[BUGFIX] Classloader problem fixed

If deployed inside a WAR inside an EAR, the system classloader that was used by the ScriptMethodInvoker run into a bug where it does not find any classes inside the javascript. 

To avoid this, the ScriptEngineFactory has to be instantiated with the classloader of the bean, that is used to call the method.