[bosh-lite] Auto-detect the current cf api domain

For bosh-lite on AWS, the domain uses an AWS Elastic IP. This patch determines the current domain from `cf api`.