This patch adds mechanism to delete stacks when:
- The deployment is running (to cancel the deployment)
- The deployment was successful
- The deployment has failed
Change-Id: I0c9679e4e71831a5f20c9c00ef5cc395e15ab3da
Closes-Bug: #1583651
(cherry picked from commit ef30181c3c)