Add support for EventEmitter (https://github.com/Wolfy87/EventEmitter)

This allows someone to pass in an EventEmitter and listen for events on it as opposed to using callbacks.