Auth/Misc: Code cleanup.
*Random performance optimizations
Scripts/HallsOfReflection: Fixed a typo detected by static analysis tool.
Merge pull request #10697 from Chaplain/authserver

Auth/Misc: Code cleanup.
Core/Misc: Fixed some more issues found by static code analysis tools.
Core/Build: Updated the header files to fix the build.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
Core/Build: Fixed build
DB/SAI: Putting Olakin Back Together Again (13220)
DB/SAI: A Cleansing Song AI
DB/Spawns: Spawns & AI for Corpulent Horrors
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
Core/Command Line: Fix memory leak

Fix memory leak in command line handler on platforms other than Windows. The result of readline() is supposed to be freed with free() as described at http://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC24 .

Valgrind log:
 11 bytes in 2 blocks are definitely lost in loss record 6 of 61
  at 0x4C28BED: malloc (vg_replace_malloc.c:263)
  by 0x4E5F6E8: xmalloc (in /lib/x86_64-linux-gnu/libreadline.so.6.2)
  by 0x4E4571A: readline_internal_teardown (in /lib/x86_64-linux-gnu/libreadline.so.6.2)
  by 0x4E46541: readline (in /lib/x86_64-linux-gnu/libreadline.so.6.2)
  by 0x1005284: CliRunnable::run() (CliRunnable.cpp:161)
  by 0x163A3DA: ACE_Based::Thread::ThreadTask(void*) (Threading.cpp:186)
  by 0x518C555: ACE_OS_Thread_Adapter::invoke() (OS_Thread_Adapter.cpp:103)
  by 0x61D7B4F: start_thread (pthread_create.c:304)
  by 0x6C66A7C: clone (clone.S:112)
Merge pull request #10718 from jackpoz/console_fix

Core/Command Line: Fix memory leak
Core/Battlegrounds/IoC: fix fortress teleport pads
(and replace a hack with an other hack)

Closes #5846
Closes #7993
Ref #8984
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
Fixed Players learning class skills from other class trainers