FIX: Browser back button breaks "Loading..." visual

From: https://github.com/rails/turbolinks/
page:change the page has been parsed and changed to the new version and on DOMContentLoaded
Dashboard avatars: No need to load 40px images if we render them in 24px

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Update deploy.sh script with assets commands
Expire event cache on avatar creation/removal
Merge pull request #5759 from bke-drewb/issue-5496

Add cache expiry on avatar creation/removal
Add DELETE to api cors

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'improve/avatar_size' of /home/git/repositories/gitlab/gitlabhq
Fix disappearing @ when mention user

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Expire fog links after 34 years
Reduce Fog expiration period to 17 years
Merge branch 'bug/at_disappear' of /home/git/repositories/gitlab/gitlabhq
do not remove merge requests when fork project destroyed

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Render valid message when MR source or target branch was removed

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Add new methods to MR to check if source or target branch exists

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Remove rails4 branch in travis configuration since this branch is already merged
Proper erro message for MR when fork removed

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use MR#source_project_path method instead of merge_request.source_project.path_with_namespace

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Allow close of broken MR

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge pull request #5827 from Razer6/remove_rails4_travis

Remove rails4 branch in travis configuration
Fix test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>