Description of problem:
this bz will track the fix to remove the DISTINCT that was put into place due to the upstream meta data with the server/channels in bz 1021057. While this fixed the duplicates it introduced a terrible performance penalty for larger Satellite client counts. There is more detail history in a wiki that I will post separately.
Following files affected:
NOTE: This affects entitlement-counting. Since we don't do that any more in Spacewalk, *there is no upstream fix*
Reverified sanity-only using steps from comment 6 and automation with compose from 2017-06-09.