DO NOT MERGE refs #6145 - calculating installation url based on smart proxy

Opening mainly to abuse jenkens and run tests

Main PR here https://github.com/Katello/katello/pull/4241
Should https://github.com/Katello/katello/pull/4246 get merged before this PR?  It does the refactoring to rename operatingsystem to redhat extensions..etc.?