api call error forwarding to cli
api call error forwarding to cli

* prints api call error along with http error
* checks for empty error response body

Closes-bug: #1259585

Change-Id: I332fa960d74681610e6cf6b759c9b6bd5f91ec91

SmartInfrastructures/fuel-web-dev,koder-ua/nailgun-fcert,eayunstack/fuel-web,prmtl/fuel-web,SmartInfrastructures/fuel-web-dev,huntxu/fuel-web,nebril/fuel-web,stackforge/fuel-web,nebril/fuel-web,SmartInfrastructures/fuel-web-dev,prmtl/fuel-web,stackforge/fuel-web,zhaochao/fuel-web,SmartInfrastructures/fuel-web-dev,stackforge/fuel-web,koder-ua/nailgun-fcert,huntxu/fuel-web,zhaochao/fuel-web,huntxu/fuel-web,prmtl/fuel-web,huntxu/fuel-web,koder-ua/nailgun-fcert,eayunstack/fuel-web,SmartInfrastructures/fuel-web-dev,zhaochao/fuel-web,zhaochao/fuel-web,huntxu/fuel-web,nebril/fuel-web,nebril/fuel-web,nebril/fuel-web,eayunstack/fuel-web,zhaochao/fuel-web,prmtl/fuel-web,koder-ua/nailgun-fcert,prmtl/fuel-web,eayunstack/fuel-web,eayunstack/fuel-web