Update iotcloud-cf.js for multiple hosts

This code change, allows multiple broker hosts, in Bluemix, one for staging and the other for production. It checks for the presence of the broker host.