Improve Bugsnag wrapper

- Correctly pass exceptions to notifyException
- Add ErrorNotifier to window object so that it's globally available
- Discard third argument, since it's not being used anywhere