Add basic patcher code (inspired by rescuejs)

I'd like to get some automated tests in here yet, but the gist of this is to try and patch the following:

- window.setTimeout
- window.setInterval
- $()
- jQuery events

I'm not sure if theres any other good entry points to patch, and if we use TraceKit it will more or less do all of this for us as well.

The goal here is to give options other than window.onerror (which is crap).