Clean up some of the imports, remove mut self for spawn_reading_thread, and rename IrcEvent to RawIrcEvent.
Revamp the whole thing, so that it works better. This is nearly three days work, but I didn't commit because this is the first time it has actually compiled since undertaking the reworking.

There are a few bits of code which haven't been worked out which are commented out, those will be dealt with in the future.