Add connection method to get available releases

Used for getting the available release versions
from katello. In hosted candlepin scenario, the
release versions will come from the CDN directly
(API not implemented in candlepin).