Adding getState, setState, setObject, delObject as part of the ScriptEngine.
These are only delegates without copy/paste of the logic.

Now you can do this:

scriptEngine.setState(xxx); in scripts that not directly called by the scriptengine, eg. helper scripts.
Merge pull request #131 from thorque/master

Adding getState, setState, setObject, delObject as part of the ScriptEngine. These are only delegates without copy/paste of the logic.