add spec for ontology deletion
add OntologyDeleteError
improve tests on deleting an ontology
implement correct ontology deletion