irc: add support for CAP account-notify

What the title says, might break some scripts because I've changed some variables.

**Edit:** again, I didn't add it to the help yet.
I think you should first free value of account in nick (if not NULL) before doing the strdup with new value.