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
Fix error when swapping unique equipped weapon on dual wield

Also fix rings and trinkets
Core/DBLayer: Fixed required version definitions
Merge pull request #9045 from krofna/mysql

Fix magic numbers: You meant 5.1 and not 5.10
Core/Log: Rotate logs when maximum size is exceeded, backup name will be "filename".datetime
- This is an addition to 39c2d89
Update src/server/shared/Logging/Log.cpp

Fix crash when the last iter plus and change value
Merge pull request #9037 from krofna/crefixes

Fix error when swapping unique equipped weapon on dual wield
Merge pull request #9049 from springfieldking/master

Fix crash when wordserver startup
Tools/mmap_generator: Fixed a deadlock at exit
Core/Misc: Minor cosmetic changes here and there
Core/Logging: Fix all possible crashes when using bad Appender config settings
Core/Players: Fixed uninitialized variable for item swaps
Merge pull request #8978 from Naios/sai_timed_cond

Core/SmartScripts: Check Conditions also for timed Events
DB/SAI: Fix quest Wrangle Some Aether Rays!

Closes #6176
Closes #8968
Merge pull request #8953 from MrSmite/PetAI_PassiveCastFix

Fix passive pets not using spells when commanded to attack
Core/Log: Fix console colors (missing change from 53a3373)
Closes #9051
Scripts/Icecrown Citadel: Fixed Deathbringer Saurfang's Blood Power scaling on first attempt.

Closes #3283
Scripts/Icecrown Citadel: Fixed possible crash with Bone Spike Graveyard

Closes #7171
Merge branch 'master' of git://github.com/TrinityCore/TrinityCore