added eventemitter to mongoose to handle events from node-irc