Core/Player: Fix logic for questgiver cast spell
DB/SAI: Fix some duplicate aura errors and clean up the SAI.
Core/SAI: Make SMART_ACTION_SET_INGAME_PHASE_MASK set the phasemask of the target_type instead of always the source calling the action type.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore