Report HTTP error if possible on CLI commands.
Report HTTP error if possible on CLI commands.

Separated the reading of the HTTP response from the JSON parsing and on error, repor the HTTP response body as it may be useful to see the raw response when the API call fails.
For example, if the host is unreachable.

prccaraujo/openwhisk,csantanapr/incubator-openwhisk,akrabat/openwhisk,houshengbo/openwhisk,RSulzmann/openwhisk,openwhisk/openwhisk,tysonnorris/openwhisk,cbickel/openwhisk,domdom82/openwhisk,sven-lange-last/openwhisk,starpit/openwhisk,RSulzmann/openwhisk,devbv/incubator-openwhisk,duynguyen/incubator-openwhisk,akrabat/openwhisk,nwspeete-ibm/openwhisk,devbv/incubator-openwhisk,duynguyen/incubator-openwhisk,dubeejw/openwhisk,markusthoemmes/openwhisk,nwspeete-ibm/openwhisk,lzbj/openwhisk,markusthoemmes/openwhisk,csantanapr/incubator-openwhisk,dubeejw/openwhisk,rabbah/openwhisk,jasonpet/openwhisk,CrowdFlower/incubator-openwhisk,xin-cai/openwhisk,rabbah/openwhisk,jeremiaswerner/openwhisk,cbickel/openwhisk,markusthoemmes/openwhisk,duynguyen/incubator-openwhisk,jeremiaswerner/openwhisk,dubeejw/openwhisk,xin-cai/openwhisk,csantanapr/incubator-openwhisk,cbickel/openwhisk,cbickel/openwhisk,starpit/openwhisk,starpit/openwhisk,jeremiaswerner/openwhisk,starpit/openwhisk,dubeejw/openwhisk,paulcastro/openwhisk,markusthoemmes/openwhisk,style95/openwhisk,jasonpet/openwhisk,nwspeete-ibm/openwhisk,paulcastro/openwhisk,style95/openwhisk,prccaraujo/openwhisk,lzbj/openwhisk,jasonpet/openwhisk,nwspeete-ibm/openwhisk,nwspeete-ibm/openwhisk,jasonpet/openwhisk,sven-lange-last/openwhisk,markusthoemmes/openwhisk,jeremiaswerner/openwhisk,style95/openwhisk,duynguyen/incubator-openwhisk,jasonpet/openwhisk,csantanapr/incubator-openwhisk,prccaraujo/openwhisk,domdom82/openwhisk,tysonnorris/openwhisk,akrabat/openwhisk,jeremiaswerner/openwhisk,akrabat/openwhisk,prccaraujo/openwhisk,nwspeete-ibm/openwhisk,xin-cai/openwhisk,sven-lange-last/openwhisk,tysonnorris/openwhisk,tysonnorris/openwhisk,CrowdFlower/incubator-openwhisk,cbickel/openwhisk,jeremiaswerner/openwhisk,houshengbo/openwhisk,akrabat/openwhisk,CrowdFlower/incubator-openwhisk,markusthoemmes/openwhisk,csantanapr/incubator-openwhisk,style95/openwhisk,domdom82/openwhisk,dubeejw/openwhisk,xin-cai/openwhisk,houshengbo/openwhisk,openwhisk/openwhisk,openwhisk/openwhisk,xin-cai/openwhisk,devbv/incubator-openwhisk,paulcastro/openwhisk,prccaraujo/openwhisk,xin-cai/openwhisk,jasonpet/openwhisk,domdom82/openwhisk,style95/openwhisk,devbv/incubator-openwhisk,openwhisk/openwhisk,lzbj/openwhisk,lzbj/openwhisk,houshengbo/openwhisk,RSulzmann/openwhisk,CrowdFlower/incubator-openwhisk,style95/openwhisk,markusthoemmes/openwhisk,rabbah/openwhisk,rabbah/openwhisk,openwhisk/openwhisk,dubeejw/openwhisk,cbickel/openwhisk,RSulzmann/openwhisk,starpit/openwhisk,sven-lange-last/openwhisk,tysonnorris/openwhisk,csantanapr/incubator-openwhisk,rabbah/openwhisk,rabbah/openwhisk,RSulzmann/openwhisk,jeremiaswerner/openwhisk,prccaraujo/openwhisk,lzbj/openwhisk,sven-lange-last/openwhisk,tysonnorris/openwhisk,paulcastro/openwhisk,houshengbo/openwhisk,tysonnorris/openwhisk,sven-lange-last/openwhisk,CrowdFlower/incubator-openwhisk,akrabat/openwhisk,openwhisk/openwhisk,csantanapr/incubator-openwhisk,devbv/incubator-openwhisk,jasonpet/openwhisk,paulcastro/openwhisk,starpit/openwhisk,CrowdFlower/incubator-openwhisk,paulcastro/openwhisk,rabbah/openwhisk,cbickel/openwhisk,markusthoemmes/openwhisk,paulcastro/openwhisk,nwspeete-ibm/openwhisk,style95/openwhisk,duynguyen/incubator-openwhisk,houshengbo/openwhisk,domdom82/openwhisk,houshengbo/openwhisk,lzbj/openwhisk,prccaraujo/openwhisk,RSulzmann/openwhisk,domdom82/openwhisk,akrabat/openwhisk,RSulzmann/openwhisk,sven-lange-last/openwhisk