events: speed boost on emit, no listeners

Speed increase is roughly 4-5x.
This makes emit with no listeners as fast as when there is listeners.

The following is "slow" with no listeners in the this._events:

```
handler = this._events[type];
```