Move code to EE model to avoid conflicts on pending performance MR
So this is just a quick MR to move a scope from the midst of a bunch of other scopes to the EE model mixin. This will allow https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16578 to merge cleanly for example
Edited by Gregory Stark