DB/Quests: Fix: The Focus on the Beach, Atop the Woodlands, The End of the Line

Closes #367 #1848
Allow use effectIndex in spell_target_position.
Merge pull request #9790 from vlad852/master

spell_target_position - allow use effectIndex
Core: Declare some functions const and remove use of "using" directive in a couple of files
Core/Logging: Performance-related tweaks to logging system
    All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
    Memleak fix
Core/Spells: Manually reverted 8dea73fc83ed00764e03c6ee3bb7c1ffa28527eb.

Will have a closer and better look later.
Core: Fixed windows compile
Core/Debugging: Marked assert functions as non returning
sRevert "part 3.. :D"

This reverts commit f7426766a47135db224d9107de66cd22ae0f18a4.
Scripts/Ulduar: Yogg-Saron

Known issues:
- encounter doesn't start immediately after you enter the room, you need to go closer
- players standing outside of the room are not turned Insane after 15 seconds
- encounter resets if the last living player is gripped by Constrictor Tentacle or encased in Hodir's Flash Freeze
- Hodir won't freeze multiple players when they die at the same moment
- Flash Freeze missile (64176) won't hit anybody, probably cast too soon (cosmetic issue)
- there are some unused spells, don't know when or why they should be cast
- some spell animations hit multiple players, but they shouldn't do that
Merge pull request #9690 from horn/yogg_saron

Scripts/Ulduar: Yogg-Saron
Core/Commands: Improve .damage command, now can damage destructible gameobjects => ".damage go <guid> <damage>"
Merge pull request #9799 from xjose93/DamageGO

Core/Commands: Improve .damage command, now can damage destructible gameobjects => ".damage go <guid> <damage>"
Scripts/Ulduar: Fix warnings
Merge pull request #9800 from horn/yogg_saron

Scripts/Ulduar: Fix warnings
Core: Fix compiler warnings
Fix startup errors.
Merge pull request #9814 from vlad852/master

Fix startup errors
Core/Misc: Fixed a bunch of issues found by static analysis
Core/Misc: Another batch of fixes for issues found by static analysis