IRC - implement the IRC bot in nine

This is still a WIP, but should be mostly functional. I think we need to get this running on something in order to work out the rest of the kinks.