ScriptRunner: add main as simple entry point

This will greatly simplify the Jython script wrappers.