move version-queries into Ontology::Versions.
add tests for determining active ontology-version.