Make sure integration-cli tests clean up

Common patterns:
- Multiple images were built with same name but only one cleanup.
- Containers were deleted after images.
- Images not removed after retagging.
- deleteImages() did not work for deleting many images together.

Signed-off-by: Tõnis Tiigi <tonistiigi@gmail.com> (github: tonistiigi)


This will become more important when there is progress with #9217 . Even at the moment when `integration-cli` is ran inside temporary container this can easily result false positives when one test leaks information to another. Currently there are many tests that do not pass if ran for a second time in same environment.

edit: pushed again [diff](https://gist.github.com/tonistiigi/ca99deea7b679c398cc7)