(maint) Add global cleanup option for mock stubs

Toggling the cleanup_on_failure option in our mock stubs will make it
easier to diagnose problems with builds by leaving failed builds
staged in their initialized mocks. By default, both options are true
(which is consistent with the defaults as shipped in mock).