Fix the in_repository method

When you searched for an ontology, the repository id was always set
so this method was always true.
Move the ontology search partials back in shared.
Fix the partial call

also move the heading from the ontolgy search partial to index global.
Add the first steps for ontology search in repos.
Merge branch '1137-in_respository_search' into develop