Add ontology object

Some methods/attributes probably still missing, but this is what we need for
EBI

Fixes #317
Merge pull request #354 from adamrp/ontology_object

Add ontology object