src/irclib.py: use a set instead of a list for Irc.caps