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.
refactor tarjan tree according to style-guide

Also objectify the class.
use SQL to fetch valid sentences for Tarjan Tree.
adjust tarjan tree uses across project

Use .for instead of .new.
remove invalid ontology_id/name constraint

Names in entity_groups are not unique.
cleaning up before making an new tree
Merge pull request #920 from ontohub/fix_some_entity_tab_kind_stuff

Fix some entity tab kind stuff
fixing test

the test works with an old object so we have to reload the object
fast fix for show page of links
ontologies are now links in the mappings overview
Merge pull request #921 from ontohub/fix-tarjan-tree

Fix tarjan tree