fixes 288.  Fixed DELETE requests in REST API.
fixes 288.  Fixed DELETE requests in REST API.

redhat-imaging/imagefactory,LalatenduMohanty/imagefactory,redhat-imaging/imagefactory,LalatenduMohanty/imagefactory,jmcabandara/imagefactory,jmcabandara/imagefactory