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/Battleground:
Add missing NULL pointer check for player if is not in world

Core/Spell:
Add absolute value for delta because can be nevgative

Close #10846
Core/Arena: Fix reading opcode with badge data at creating arena team.
Core/MMaps: Started this new branch as my playground for mmaps.
Made some refactoring
Free memory taken by mmaps when a map is destroyed.
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw
Tools/MeshExtractor: Fixed loading of locale patch MPQs (This fixes DBC extraction)
Core/MMaps: MMaps are now correctly loaded into TC

P.S: They do behave better in some places, but are still a bit weird in some others, will have to look into that.
P.P.S: I'll have to re-implement all the previous PathGenerator code
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw
Core/MMaps: Use an enum for the poly flags
Core/MMaps: Separate the path from the walls to prevent falling off the edges client-side and improve the behavior.
Thanks to Game2Mesh user in ownedcore.
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw
Core/MMaps: Bump mmaps version to 5
Tools/MeshExtractor: Create the mmaps output directory automatically.
Tools/MeshExtractor: Rewrote the MeshExtractor to use a custom Stream class instead of FILE pointers, this way we avoid the errors that were caused by reaching the maximum limit of the tmpfile function, and the maximum number of open file streams at any given time.
P.S: This was no easy task, damnit.
Tools/MeshExtractor: Fixed a few errors under GCC and changed a bit how the GenericCache class works.
Tools/MeshExtractor: Code cleanup and fix threading issue

Remove GenericCache:Insert() as no longer needed.
Mark BuilderThread as not free anymore as soon as they are assigned to a Tile.
Fix signed/unsigned comparison mismatch.
Tools/MeshExtractor: Fix memory cleanup

Free memory created with new[] with delete[] .
Tools/MeshExtractor: Fixed a logic mistake.
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw
Tools/MeshExtractor: Added some locks because concurrency.
Race conditions were detected with a race condition detection tool.