events: implement EventEmitter#getMaxListeners()

fixes https://github.com/joyent/node/issues/8237
Long line; it should wrap at 80 columns and arguments should line up in that case.  Please terminate statements with semicolons.