Quest 4901 "Guardians of the Altar"
Core/Spells: rename wrong spell attribute
*SPELL_ATTR0_BREAKABLE_BY_DAMAGE -> SPELL_ATTR0_HEARTBEAT_RESIST_CHECK
Buildsystem/CMake: Change policy CMP0005 to NEW and corect some buildvariables accordingly

** Info from CMake:
**   The OLD behavior for this policy is to place definition values given to add_definitions directly in the generated build rules without attempting to escape anything.
**  The NEW behavior for this policy is to generate correct escapes for all native build tools automatically.

If this breaks build, let us know on irc : irc.rizon.net/#trinity
DB/Achievements: Fix Portal Jockey

Current Status: Portal Jockey(10) is rewarded from 10nh and 25nh, Portal Jockey(25) is rewarded from 10hc and 25hc.
Reason: Achievement-criteria 12971 is required for Portal Jockey(25), but checks for map-difficulty 2=10hc.
On the other side achievment-criteria 12979 is required for Portal Jockey(10), but checks for map-difficulty 1=25nh.

Closes #9081
Ref #6810
Buildsystem/CMake: Revoke commit 7b49da48f9c3c21406fbe350de170757ea6e285f - it creates unwanted results when used with PCh on *nix platforms.
DB/Loot: Fix 9 drop chance in gameobject_template (7 quests should be fixed by this)

If a GO with flags 4 drops a quest item, ChanceOrQuestChance for that items needs to be negative

Query used to find the issue:
```
SELECT * FROM `gameobject_loot_template`
    WHERE (`item` IN (SELECT `questItem1` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem2` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem3` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem4` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem5` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem6` FROM `gameobject_template` WHERE (`flags` & 4) != 0)) AND
          `ChanceOrQuestChance` > 0;
```
Core/Misc: Remove some calls to const_cast
Core/Misc: Always state what columns are affected by MySQL statements
Core/Misc: Remove using directive from header files (It will eventually lead to name collisions)
Core/Misc: Some changes to minimize differences with 4.3.4 branch
Add Mute reason and mute by to the db so you can get this info from the db with the pinfo command when player get muted.

old LOGIN_UPD_MUTE_TIME change to LOGIN_UPD_MUTE_TIME_LOGIN due the use of it when character login to world.
DB/Auth: Fix typo in sql/base/auth_database.sql

ERROR 1136 (21S01) at line 216: Column count doesn't match value count at row 1
Merge pull request #9103 from Norfik/authdb

DB/Auth: Fix typo in sql/base/auth_database.sql
Script/ToCr: Fix crash for lord jaraxxus Mistress Kiss + cleanup
Core: Fix non pch build
Core: Logical fixes and improvements in EventMap
Merge pull request #7873 from Gacko/eventphases

Core: Logical fixes in EventMap
Core: Fix warnings
Script/ICC: Fix phase check in Saurfang script

Related to changes in dbecf05e39204ff46621ce46bf5dd181e6450eeb
Remove \ No newline at end of file