Core: Add rest of checks from SendListInventory to BuyItemFromVendorSlot
Core/Achievements: Use ACE_OS::localtime_r instead of localtime in my previous commit for thread safety.

Thanks to @Shauren
Merge pull request #11568 from Rochet2/VendorChecks

Core: Add rest of checks from SendListInventory to BuyItemFromVendorSlot
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
Core/Auras: Implemented SPELL_AURA_MOD_COOLDOWN

Closes #9671
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
更新