Read flag in config to allow some resources to be kept after running tests

* It is sometimes useful to keep resources from tests that result in a failure
  or error. This configuration flag allows users to set this behavior.
* This flag should default to False, this behavior should not occur unless
  explicitly called.

Change-Id: Id3684323d4f2b4eaea900ee40183e49376140b9c
Merge "Read flag in config to allow some resources to be kept after running tests"