Initial change.

Adds polling as well as implementing an irc libaray.

It is very experimental and needs to be reworked.

Known issues.
 - Ctrl+C hangs , does not close irc thread.
 - When connecting to an IRC channel with ~70000 users it will abort without reconnecting or letting you know.