Fix passive pets not using spells when commanded to attack

Closes #8941
Core/SmartScripts: Check Conditions also for timed Events
* some cleanup work in SmartScripts.cpp

Core/SmartScripts: Some Corrections to last commit
Expand ~ to home directory on unix
Tools/Extractors: Mmap extractors no longer depend on shared and MySQL libraries
Core/Objects: Changed how update fields marked for sending are stored serverside to use our UpdateMask class
Tools: Build fix
Tools/MapExtractor: Fix displaying of a few counts in Windows

%zu works fine on GCC/Linux, but fails in MSVC/Windows
Tools: Build fix, for real this time
Tools/MeshExtractor: Fix warnings
DB/SAI: Fix more some db errors no.4
Update more copyright note for 2013.
Core: Fix compile warnings
Core: Fix build
Core: Yet another warning fix

@Kaelima: could you verify MoveCharge?
Merge pull request #9020 from krofna/krafixes

Core/ConfigReader: Expand ~ as the HOME envvar on UNIX-based platforms (requries that the HOME envvar has been set, it normally is)
Core/Spell: convert more spells to SpellScripts
DB/Misc: Add back flight aura on Wyrmrest Defender.(probably deleted on last template_addon cleanup)

Correct a SAI line for Nerub'ar Broodkeeper.
Core/Log: Allow configuring a maximum file size for a log file. If the file size is about to be exceeded, the core will create a new file titled <oldname>_.log and start outputting there.
Script/Commands: Add command to join an existing group/party.
Typo fix.