958177-headpin-urls - moved weburl and apiurl outside to they are set in...

... both headpin and katello