Allow local event emitters on XbmcApi as well as global PubSub.

This is a mostly backwards compatible change that changes the XbmcApi
itself to be an EventEmitter for just that single API, allowing
multiple instances of this class to be used separately.

The ‘PubSub’ class is still used as a default/global emitter for all
instances for backwards compatibility.