ENH/API: Add term_type method to Ontology class