fixes #5804 - moving enabled_repos call to the candlepin proxies controller

and adding back tests
Merge pull request #4125 from jlsherrill/enabled_repos

fixes #5804 - moving enabled_repos api to the candlepin proxies controller