events: implement EventEmitter#getMaxListeners()

fixes https://github.com/joyent/node/issues/8237
haha, yup, but the `Infinity` in fact is better, because both `setMaxListeners(Infinity)` and `setMaxListeners(0)` are working always. perhaps any thoughts from TC?