Core/Misc: Fix some gm level finding, always use realmd id
Core/Chat: Store information on command usage before command is executed, since pointer might get lost due to some commands