Minimal event dispatcher, following three.js's EventDispatcher.
Methods
addEventListener( type: string, listener: function ): voidAdds a listener for an event type.
removeEventListener( type: string, listener: function ): voidRemoves a listener.
dispatchEvent( event: Object ): voidCalls every listener for event.type.