Make IRC support truely optional and handle import error

Currently, we just exit with an error if irc is used in the configuration but the irc implementation isn't avaliable.

Signed-off-by: Stefan Marr <git@stefan-marr.de>