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)
SQL: Fix sql import problem
DB/Creature: Add Missing spawn for Lunk-tusk
WorldServer/RA: Implement MSG_NOSIGNAL in RASocket send.

Used to prevent raising SIGPIPE when the host are no longer recv()ing
Core/Scripting: Bosses should now work in ZG.
Note: Mandokir is being rewritten blizzlike and not everything is working properly yet.
DB/Game Event: Fix Hallow's End start time (thx gonzo1247)
Core/Scripting: Implement quest Reconnaissance Flight (id 12671)

Fix sql naming for last file.
DB/Game Event: Add missing changes in 6428af8f1663ce7b5c1ff87d86ebffd147196312
SQL: Fix sql import problems
Merge pull request #8879 from joschiwald/spell_proc_scripts

Core/SpellScripts: Implement Spell Proc Hooks and use them in old and new ...
Core/Log: Change an error to contain DB table guid instead of low guid

Signed-off-by: Nay <dnpd.dd@gmail.com>
Core/Zul'Grub: Fix up Mandokir Boss
Scripts/ZulGurub:

* Fixed non-PCH compile.
* Changed some codestyle on Mandokir.
* Fixed compile warnings and a few typos.
* Remove instance checks and use a wrapper to get AIs.
Scripts/ZulGurub: Forgotten change to previous commit. Damned Ctrl+S.
Scripts/ZulGurub: Missing mass replace changes and typo/codestyle fixes.
Scripts/ZulGurub: Fixed Hakkar's aspects.
Scripts/ZulGurub: I can do this!

Commiting stuff one hour after waking up is no good.
Core/Logging: Use correct realmId when logging to DB
Core/Logging: Add config option to enable/disable asyncronous logging (disabled by default)
Merge branch 'master' of git://github.com/TrinityCore/TrinityCore