added wait condition and signals to all instances

With this change Heat can keep the stack in the STACK_IN_PROGRESS state until
the deployment is complete.