Core/scripting: Updating Scholomance scripts
Core/Scriptd: Rewrite :)
Core/SpellScripts: implement Spell Proc Hooks and use it in old and new proc system
Hooks:
- DoCheckProc: executed when aura checks if it can proc
- DoPrepareProc: executed before aura procs (possibility to prevent charge drop/cooldown)
- OnProc: executed when aura procs
- OnEffectProc: executed when aura effect procs
- AfterEffectProc: executed after aura effect proced
- AfterProc: executed after aura proced and charges removed

using PreventDefaultAction() in DoPrepareProc will prevent charge drop and cooldown

default execution of a proc can prevented in OnEffectProc with PreventDefaultAction()

Now we should be able to convert almost all procs from Unit::ProcDamageAndSpellFor to SpellScripts

Notes to old proc system:
- if a proc has a cooldown we must check it in spellscript and add it when we handle the proc
- behavior with charge drops is possible undefined (use PreventDefaultAction() in OnEffectProc to notify that the script is executed)
Misc: Reorder scripts in some script files and some cosmetic stuff
Merge pull request #8903 from joschiwald/spellscripts_reorder

Misc: Reorder scripts in some script files and some cosmetic stuff
Merge pull request #8581 from Butterfly69/patch-9

Core/Spells:Beacon of Light
Core/maps: separate mutex for grid
Script/AQ Implement Ayamiss the Hunter and fix screwup in my Ossirian

Closes #8862

Signed-off-by: Nay <dnpd.dd@gmail.com>
Core: Fix non pch build
Core: Whitespace cleanup
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
Core/BG: Corrected data sent in SMSG_BATTLEFIELD_STATUS packet.

*should* close #7994
Core/DataStores: Changed index on CharStartOutfit.dbc to allow lookups directly using race/class/gender combo instead having to iterate entire store to find the proper entry
Core/Conditions: Implement CONDITION_UNIT_STATE = 21
DB/Conditions: Convert shadowstep spell script in conditions
DB/SAI: Some SAI for aq20. Closes #8866
DB/SAI: Fix a couple errors. Closes #8839
DB/Scripts: Fix a few SAI errors.
Use correct initialization of some vars
Misc: Reorder more scripts in some script files and some cosmetic stuff