Display global issue link only if necessary
introduce state module
rename download to fetching
using state model in all previous places
using helper method to determing state label
make changes according to hound
change oder of failed and done in states module
change code style according to style guide
change hound.yml according to the styleguide
using ruby 1.9 syntax in the view
add rake task to restore paths of ontology versions
fix condition in post receive hook
Fix dead history on empty repository.
Merge branch 'staging' into 689-show_oops_global_issues_correctly

Conflicts:
	config/locales/en.yml
Fix typo.
Use 'ontology' instead of 'o' as block variable.
Merge pull request #1070 from ontohub/fix_condition_in_post_receive_hook

fix condition in post receive hook
Merge pull request #1079 from ontohub/1078-dead_empty_repository_history

Fix dead history on empty repository.
Merge pull request #1047 from ontohub/689-show_oops_global_issues_correctly

Display global issue link only if necessary
Merge pull request #1036 from ontohub/1034-paths_missing_on_ontology_version

add rake task to restore paths of ontology versions