events: implement EventEmitter#getMaxListeners()

fixes https://github.com/joyent/node/issues/8237
Only passing one parameter to `Math.max` here? Should be?:

``` js
emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0));
```