spell.max convert int16 to int32

Converting the spell.max field to int32 to handle larger numbers in the
PercentalHeal field.
Image fix for OP_CastSpell exploit.
Merge pull request #73 from hateborne/master

spell.max conversion from int16 to int32.  Make sure to re-run your shared_memory program.