events: implement EventEmitter#getMaxListeners()

fixes https://github.com/joyent/node/issues/8237
`s/usefull/useful`

Maybe clarify what warning? I know the warning but might be better to clarify.