Core/Spells: Health Funnel now always damages the warlock, even if it does not heal the pet because it's already at full health. Previously it would display the 'Miss' effect on the owner of the pet.

Fixes #9991
Core/Spells: Fixed Revive Pet to revive the pet near the owner

Closes #11196
Core/Logging: Minor changes
- Select stderr when writing ERROR and FATAL messages
- Simplify function defines
- Fix `logs` table structure with latest logging changes
Core/Build: Fix build when WITH_COREDEBUG CMake flag is selected
Rename 2013_11_10_07_world_conditions,sql to 2013_11_10_07_world_conditions.sql
Scripts/SunwellPlateau: reworked InstanceScript and applied codestyle
Merge pull request #11175 from MitchesD/sunwell

Scripts/SunwellPlateau: reworked InstanceScript and applied codestyle
Core. fix build and some codestyle changes
Scripts/ZulAman: fix exploit that player can fly until logout
DB/EAI: Some updates from acid to add to EAI before final convertion.
DB/creature_ai_text: Fix some errors.
DB/SAI: Some EAI to SAI conversions.
DB/SAI: Some EAI to SAI conversions.
DB/SAI: More EventAI to SmartAI conversions using this tool: https://github.com/TrinityCore/EventAI-to-SmartAI
DB/SAI: More EventAI to SmartAI conversions using this tool:
https://github.com/TrinityCore/EventAI-to-SmartAI
SQL: Fix import errors
DB/SAI: More EventAI to SmartAI conversions using this tool:
https://github.com/TrinityCore/EventAI-to-SmartAI
DB/SAI: Fix Comments in last commit.
DB/SAI: More EventAI to SmartAI conversions using this tool:
https://github.com/TrinityCore/EventAI-to-SmartAI
DB/SAI: Fix comments in last commit again. Damn you Discover.