Changed newFromServiceCatalog to return the first endpoing of the correct type
if we've gone through the whole catalog and don't have any endpoints that
macthes the region specified to newFromServiceCatalog