events: implement EventEmitter#getMaxListeners()

fixes https://github.com/joyent/node/issues/8237
I did miss that. It seems that `make jslint` does not run on tests.