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
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.
Merge pull request #9016 from joschiwald/spellscripts4

Core/Spell: convert more spells to SpellScripts
SQL: Rename SQL merged in PR
Core/DBLayer: Drop support for MySQL versions <5.1

Both server and client libraries must be up to date in order to run TC.
Scripts/Icecrown Citadel: Fixed Essence of the Blood Queen interrupting player spell casts

Closes #8665
Tools: Remove a bit of spam when mmaps_generator loads vmaps
Merge branch 'HEAD' of git@github.com:TrinityCore/TrinityCore.git