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


and adding back tests