Modifications for alternate behavior for deleted images

* Added logic to image behaviors to handle GET requests for
  deleted images returning the image or a 404
* Added config option to specify behavior for deleted images

Change-Id: I42c07af2a935a66000be964c055e0616752d8ac6
Merge "Modifications for alternate behavior for deleted images"