Extend events dispatcher with optional context

As described at https://github.com/pusher/pusher-js/issues/70