Added Window.setOnError() and Window.onError()
Added Window.setOnError() and Window.onError()

Window.onError() dumps a traceback string if possible.
Window.setOnError() sets the new onerror handler.

jaredly/pyjamas,jaredly/pyjamas,jaredly/pyjamas,jaredly/pyjamas