Added listener weighting to EventEmitter class
Added emitUntilType to EventEmitter class