Simple ruby event emitter. Based on node's EventEmitter.