add spec-helper method to parse a specific file.
move the error-handling into the hets module.
add a spec for non-ontology-file decision.
do not update state on destroyed ontology

We need to 'abort' the do_or_set_failed block.