[ai-0.36-63] Core/Playerbots: Fixing DB SQL query issues. Thanks to Kittnz. [trinity only]
Merge https://github.com/ike3/mangosbot into trinity-wotlk-ai