Move SpellResult and TargetType to the API
Add doxyfile, prepare for 3.0 RC1
Update for last-minute API change.