Add UMD support

https://github.com/bugsnag/bugsnag-js/pull/52#issuecomment-47022078