SQL: Fix sql import
Scripting/Spell Stand: Move this spell to spells generic.
Core/Misc: Fix issues reported by static analysis