add --force-rm to clean up after a failed build

This PR is WIP.

This adds a `--force-rm` flag  to docker build which makes the Docker daemon clean up all containers, even when the build has failed.

Fixes #5644