Basic framework that allows connecting to IRC.

Code from http://www.hawkee.com/snippet/5656/
Corrected Connection.start()
Very basic bot framework
Can now join channels
network now removes preceding :

print stacktrace on exception
Removed unnecessary code
Added sendRawData admin command

Added part channel
Added whois functionality
Changed output a little bit

added part command
added channel invite event handler, joins if sent by admin
Forgot part of last commit
Added channel invite event handler in network, forgot to do that earlier
Made sendAction independant of sendMessage
Trim data before sending to irc network
Corrected WHOIS
enabled whois
Messed a bit and improved ctcp
Changed commands system around.
Removed unneeded imports.
Removed unneeded imports. part 2
Partially implemented new events system. Not working yet!
partial implementation of new Events system