Fix a bunch of issues with PurpleChatUser including one that caused user names to be duplicated in XMPP MUCs
Testing Done:
Joined and XMPP and IRC chatroom and verified that there was no username duplication.
Reviewed at https://reviews.imfreedom.org/r/265/