DB/Creature: Fix some factions

Updates #11501
DB/Creature: Fix some startup errors

Updates #11501
DB/Creature: Fix some factions

Updates #11501
DB/Creature: Fix some factions

Updates #11501
DB/Creature: Typo fix.
DB/Creature: Fix some factions

Updates #11501
DB/Creature: Fix some factions

Updates #11501
DB/Creature: Fix some factions

Updates #11501
DB/Creature: Fix some factions

Updates #11501
DB/Creature: Fix some factions

Updates #11501
Core/Spells: drop last leftovers of hardcoded spell target selection and move it into spellscripts

Closes #1719
Closes #3186
Core/Misc: Missing changes and get rid of useless method in acd46085d1f496657e27e0d5f823f53d466702dc
Core/Spells: fix Ancient Hysteria and Time Warp thx @yousefscof and @gigatotem

Closes #11018
Fix non pch build
Core/Splines: Fix "velocity > 0.1f" error

Updates #6191.
Scripts/HoR: Fix log error

Fix "DoZoneInCombat called for creature that has empty threat list" error caused by DoZoneInCombat() called by IsSummonedBy() in a script before the Creature is allowed to enter combat.
Fix warnings introduced on littleendian in 2134cb610d45727a0623741f7416a360882133fa

This fix prevents possible issues on bigendian machines. Don't use c style casts ppl, it's evul.
Core&DB/Spells: Move custom spell attributes from code to DB, `spell_custom_attr` table

`spell_custom_attr`
- `entry` uint PK
- `attributes` uint (enum SpellCustomAttributes of SpellInfo.h)
SQL: Update old .sql files to keep consistency with auth_database.sql

Also update characters_database.sql (generated by mysqldump)
Core/Spells: Fix DK Ghoul's damage after ad8eb434c02e451effd0949aaa7d2b7999d91597. I misread 'SpellScript::m_damage' for 'SpellScript::damage'.

By @joschiwald