Added decorators to Irc to allow Flask like handler registration.