cli integration: sync container & image deletion

This makes container and image removal operations in the tests run synchronously.
This should fix and avoid some potential races in the cli integration tests.