Added restart ability and RPC call for irc module, fixed bug in irc plugin