add indexes to relations
Added staging environment
Merge branch 'master' into 214-delete-and-restore-branches
#214: fixed JS error after precompile
#214: fixed angularjs Controllers
#214: Fixed: Cannot read property from_ref of null
#214: update list of refs on error
#214: rescue ajax errors
#214: update count of branches in repo_block of project
#214: update "Current branch/tag" on removing of branch
#214: misprint
#214: refactoring of Tree#destroy action according to Alexander's comments
#214: added "angular-i18n" gem, some refactoring
#214: updated version of angular-i18n gem