introducing repository settings controller
beginig the subnavigation
Corrected english language.
Merge branch 'staging' into 398-delete_ontology_button

Conflicts:
	app/views/ontologies/_menu.html.haml
Some improvements to categories:

* Selected categories are checked in ontologies#edit.
* Show users ontologies on the right in categories#show.
* Refactoring.
Merge branch 'staging' into 714-fix_category_allocation
Converted categories JavaScript file to CoffeeScript.
Test ability on repository, not parent (distributed) ontology.
Merge pull request #729 from ontohub/720-ontology_edit_button

Repairing of check for whether to display ontology edit button. Fixes #720.
Merge pull request #688 from ontohub/398-delete_ontology_button

Function to delete ontologies, which are not imported. Fixes #398.
Merge branch 'staging' into 714-fix_category_allocation

Conflicts:
	app/views/ontologies/_menu.html.haml
Merge pull request #715 from ontohub/714-fix_category_allocation

Improvements to categories.

* Show categories of ontology in tab.
* Check selected categories in Ontology#edit.
* Refactoring.
* Converted categories JavaScript to CoffeeScript.
Merge pull request #730 from ontohub/633-fix_download_of_external_files

Follow redirects on download of external files. Fixes #633.
Checkout files in a shared directory.

Otherwise they get lost with each deployment and have to be reparsed with Hets.
Merge pull request #733 from ontohub/shared_commits

Checkout files in a shared directory.
Autosave for links association disabled

Otherwise changing the ontology state fails.
Handle exception on updating the ontology state

related to #608
Merge pull request #734 from ontohub/608-handle_exceptions

Handle exception on updating the ontology state
Gems updated
unset ontology_id on setting state to failed

required to pass the logic_id_check
related to #608