Allow resources in failed or errored tests to not be deleted

* Resources that are associated with tests that result in error or
  failure should not be automatically deleted. This will keep these
  resources for further troubleshooting
* This code depends on cloudcafe branch located at
  https://review.openstack.org/#/c/109068/

Change-Id: Icfc42827682dd4fe1172b7bd2cc01c13fed8486d