Fixed uninitialized variable.

Make sure return code is initialized in twc_group_chat_invite_join.
Fixed group chats not being deleted on close.
Added TWC_CHECK_GROUP_CHAT macro.
Implemented /invite.