Add noOnError option to disable installing global onerror handler

We've had some issues with global onerror handlers, mainly that some browser extensions are looping with a `setInterval` and producing a huge amount of errors, so we prefer to only wrap our own code in a try/catch so we don't get error reports for things we can't fix.

This PR adds a `noOnError` config option to disable the global onerror handler.