Fix for detect good/evil not adding state to enchantment list.

Currently these spells don't have a function to retrieve the state when cast (in this case, state = spellpower). Added this and cleaned up the files a bit.