Cleaning up core with new raw irc line parsing

Got rid of ugly IrcLine class.
Added irc line parsing functions to utils.
Added middlware.