Refactor Compare logic Updated gitlab_git to version 5.4.0. Fixes MR diff download link in case of huge diff. Fixes #1026