EE port of Resolve "Use namespaped module for diffs"
EE port of Resolve "Use namespaped module for diffs" https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20442
EE port of Resolve "Use namespaped module for diffs" https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20442