fix deprecated calls to EventEmitterTrait, use get/setEventEmitter methods
Merge pull request #3 from steverhoades/fix/event-emitter

fix deprecated calls to EventEmitterTrait, use get/setEventEmitter