modules/m_ircv3: Add support for the CHGHOST client capability

And also add the relevant documentation from the ircv3 specifications.