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
Merge pull request #680 from Tahi-project/improve_bugsnag

Improve Bugsnag wrapper