Add maxListeners config option

This adds a config key called 'maxListeners', allowing the caller to suppress the Emitter warnings raised by Node.js.