Move out http response checking from the request
Move out http response checking from the request

Refactoring the RestClient.

Change-Id: I0be5902cc120a076b6a9f18f9803404cb6a060cd

sebrandon1/tempest,vedujoshi/os_tempest,akash1808/tempest,Juraci/tempest,FujitsuEnablingSoftwareTechnologyGmbH/tempest,hpcloud-mon/tempest,nunogt/tempest,vedujoshi/os_tempest,ntymtsiv/tempest,Mirantis/tempest,NexusIS/tempest,Tesora/tesora-tempest,afaheem88/tempest,akash1808/tempest,Lilywei123/tempest,hpcloud-mon/tempest,BeenzSyed/tempest,afaheem88/tempest,pandeyop/tempest,citrix-openstack-build/tempest,bigswitch/tempest,eggmaster/tempest,rakeshmi/tempest,Juniper/tempest,roopali8/tempest,cisco-openstack/tempest,tonyli71/tempest,cloudbase/lis-tempest,flyingfish007/tempest,vedujoshi/tempest,jaspreetw/tempest,vedujoshi/tempest,alinbalutoiu/tempest,hayderimran7/tempest,vmahuli/tempest,masayukig/tempest,zsoltdudas/lis-tempest,BeenzSyed/tempest,vmahuli/tempest,Lilywei123/tempest,openstack/tempest,itskewpie/tempest,pczerkas/tempest,openstack/tempest,LIS/lis-tempest,armando-migliaccio/tempest,neerja28/Tempest,tudorvio/tempest,Juraci/tempest,citrix-openstack/build-tempest,armando-migliaccio/tempest,Vaidyanath/tempest,bigswitch/tempest,xbezdick/tempest,eggmaster/tempest,neerja28/Tempest,manasi24/tempest,afaheem88/tempest_neutron,ntymtsiv/tempest,manasi24/jiocloud-tempest-qatempest,manasi24/jiocloud-tempest-qatempest,hayderimran7/tempest,pandeyop/tempest,jaspreetw/tempest,Juniper/tempest,varunarya10/tempest,NexusIS/tempest,adkerr/tempest,queria/my-tempest,adkerr/tempest,alinbalutoiu/tempest,danielmellado/tempest,yamt/tempest,itskewpie/tempest,cloudbase/lis-tempest,CiscoSystems/tempest,queria/my-tempest,izadorozhna/tempest,redhat-cip/tempest,JioCloud/tempest,zsoltdudas/lis-tempest,jamielennox/tempest,yamt/tempest,jamielennox/tempest,ebagdasa/tempest,rzarzynski/tempest,pczerkas/tempest,xbezdick/tempest,varunarya10/tempest,danielmellado/tempest,CiscoSystems/tempest,LIS/lis-tempest,ebagdasa/tempest,masayukig/tempest,rzarzynski/tempest,Vaidyanath/tempest,citrix-openstack/build-tempest,Mirantis/tempest,redhat-cip/tempest,roopali8/tempest,tonyli71/tempest,FujitsuEnablingSoftwareTechnologyGmbH/tempest,dkalashnik/tempest,Tesora/tesora-tempest,flyingfish007/tempest,rakeshmi/tempest,sebrandon1/tempest,nunogt/tempest,JioCloud/tempest,afaheem88/tempest_neutron,tudorvio/tempest,izadorozhna/tempest,citrix-openstack-build/tempest,cisco-openstack/tempest,manasi24/tempest,dkalashnik/tempest