events: Added support for custom context

The custom context argument allows you to specify with what context
your supplied event handler is executed. It defaults to the
EventEmitter class.

Fixes #8210
I wonder if an example that shows a more real-world use-case would be useful:

```
   server.once('connection, this.onconnection, this);
```

Of perhaps that just lacks enough context to  be clear.