Core/SmartScripts: speedup loading/validating sai scripts from db

Before:
>> Loaded 6953 SmartAI scripts in 3543 ms

After:
>> Loaded SmartAIMgr Helpers in 4 ms
>> Loaded 6953 SmartAI scripts in 95 ms
DB/Waypoints: Some Outlands waypoints. Mostly Blade's Edge.
DB/Misc: Some Combat AI, Remove spawns, and aura fixes.
DB/Misc: fixed comment in one SAI script.
Core: Fix warnings
DB/SAI: Fix one linking error and updated a few to use CMC "Combat Movement Control"
Core/Movement: Fixed possible invalid memory access
Fix typo
Merge pull request #11309 from Lartza/master

DB/SAI: Fix typo
Core/SmartAI: Fixed issue where ranged caster would switch to combat ready state between cast.
Core/AI: Some code cleanup
Core/SmartAI: Reset Actions will not be processed until creature reaches home.
Core/SmartAI: SMART_ACTION_UPDATE_TEMPLATE will no longer ignore the target type and force the source creature (creature only) to be updated; from now on it updates the given targets to the given entry (actionparam1)
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore