Refactor|libcommon: Switched hu_chat.c, hu_log.c, hu_msg.c and pause.c to  C++