Refactored code to make an IRC Client class

I have a lot of ideas for IRC bots, so I made the IRCClient.js file to
make these things easier. I've applied it to the very simple Goodbye Bot
here.