configManager Lua table to replace getConfigInfo

Moved getConfigInfo to compat.lua
Join/leave event should be sent to private chats
Merge remote-tracking branch 'upstream/master' into patch-1