Repository#blob_at_branch

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Prevent Compare page timout for large amount of commits

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use MergeRequestDiff::COMMITS_SAFE_SIZE for Compare diff limit.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Prevent 500 error on Compare page if diff read timout happens

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
 Merge branch 'minor_refactoring' into 'master'

Minor refactoring

Add Repository#blob_at_branch method
Use gitlab_git from rubygems

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
 Merge branch 'improve/compare_page' into 'master'

Improve Compare page

Prevent Compare page timout for large amount of commits.
Fixes #989
 Merge branch 'gitlab_git_gem' into 'master'

Use gitlab_git from rubygems
Merge branch 'master' of github.com:gitlabhq/gitlabhq