Fixes

This time a selection of commits that do the following:

- separate more ScriptingPanel from ScriptingEditor, to prevent null pointer exception as I have done juste a couple of days ago...

- really fix the infinite loop in the javascript parsing. Now the parsing is not recursive. Instead we use the Rhino error reporting system to find all the errors and warnings.

- make the Exception catching more specific (why do we never get bug reports for the ScriptEditor ??)