a eventEmitter implementation in PHP. largely following node.js' EventEmitter API