Incoming irc messages now represented as specialised hashes.

Also added error handling around the two dispatching threads.
Handle launching bot with no modules configured.