Add support for `beforeNotify` callback

https://github.com/bugsnag/bugsnag-java/pull/15