Common::Scopes refactored

Now we have a ScopeBuilder that is available in all models.
Return forbidden if access is denied and requested format is not HTML.
Simple REST API for listing/updating Repositories and Ontologies