events: implement EventEmitter#getMaxListeners()

fixes https://github.com/joyent/node/issues/8237
Yeah, and it is done in `setMaxListeners`.