Moved some functions to compat.lua

moved isInWar(cid, target) & getPlayerFlagValue(cid, flag) to compat.lua