Fix pet spell cooldown being extended without successful cast

Closes #12560
Resolve shutdown crash/leak if MySQL server is not running

Fixes #12734
Merge pull request #12818 from MrSmite/pet_spell_cooldown

Fix pet spell cooldown
DB/Creature: Watcher Leesa'oh

Script turn in event for stealing back the mushrooms.
Kill potentially uninitialized variable warning
DB/Misc: More texts

add some missing texts from npcs, also set missing emotes for some existing texts.
Core/NetworkIO: Restore networking related scripting hooks

Closes #12607
Rename  2014_08_11_01_world_misc.sql to 2014_08_11_01_world_misc.sql
Core/NetworkIO: Prevent queueing more async operations when socket is already closed
Merge remote-tracking branch 'upstream/master'