events: implement EventEmitter#getMaxListeners()

fixes https://github.com/joyent/node/issues/8237
how about returning `Infinity` when `this._maxListeners` is 0 to make more semantic, actually `setMaxListeners(Infinity)` is working well, too.