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