Core/Scripting: Misc fixes
Merge branch 'master' of git://github.com/TrinityCore/TrinityCore