Add an atomic reference counters to the IRCv3 capabilities to track when we're done with negotiation
Testing Done:
Connected an IRCv3 account to a local ergo instance and verified that the capabilties we ended properly.
Reviewed at https://reviews.imfreedom.org/r/2180/