Fix metadata navigation

In the ontology view, the metadata tabs and in sentences view the content tab were not set to active.
This is fixed by this branch.