Small fixes, made Lua-based items work, added in basic structure for Lua-based spells.