[z1965] Add wrapper HasAttribute to check if a spell has an attribute

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>

(based on commit 73d543e)

(cleaned version of 4f3c685)

(based on commit [s1554] - ed72481)