events: implement EventEmitter#getMaxListeners()

fixes https://github.com/joyent/node/issues/8237
I believe we use `// Copyright io.js contributors.` now.