Game server/quest system: implemented GetClanGrade() (CheckClanGrade() for original scripts). Also implemented a wrapper for GetLoyalty() (that is, CheckLoyalty() for original scripts). Resolves #389.