Add base Spell library, for making custom spells

You won't need to build against MagicPlugin anymore.