Put the current ontology-version into the array

In order to fix the all_end hook, we need to put the
'current' ontology-version into the versions array, which
will then result in ontologies containing the ontology.
Merge pull request #1128 from ontohub/fix-ontology_all_end_callback

Put the current ontology-version into the array