Double checked libraries (newest from Paho). Added a connection check

before publish (reconnect if not connected). Added MQTT publish on
ranging results. 

Do not think that QoS levels other than 0 are supported by Bluemix IoT
message broker.