src/irclib.py: set caps in Irc.__init__

This allows other plugins to request capabilities in a straightforward
way.