add version numbers to version index view
use bootstrap modal in file edit on discard
add download links to ontology version index
move modal functionality into discard()
use ontology.repository; repository does not exist

repository does not exist anymore (is not set in the controller),
so we'll access the repository through the ontology.
Merge pull request #919 from ontohub/hotfix_oops_repository_path

use ontology.repository; repository does not exist
Merge pull request #912 from ontohub/886-incremental_version_numbers

add version numbers to version index view
Merge pull request #914 from ontohub/828-use_bootstrap_modal_in_file_edit

use bootstrap modal in file edit on discard
sort entity-tabs alphabetically

Also default to class-tab if possible.
show class-tree too if there is no query-argument

If the class-tree is applicable display it, even if
there is no argument for kind inside of the query-string.
Merge pull request #920 from ontohub/fix_some_entity_tab_kind_stuff

Fix some entity tab kind stuff
Merge branch 'staging' into 902-restrict_owner_degradation

Conflicts:
	config/locales/en.yml