Allow deployment controllers to stop during integration tests

Paired with https://github.com/GoogleCloudPlatform/kubernetes/pull/2661, inlines
it here until a rebase.