Fail cloudformation operation when it is not completed successfully

When cloudformation operation is successfully submitted but some step
during stack creation or update fails, operation result should be
failed=True.
Merge pull request #4300 from psvo/cloudformation_results_fix

Fail cloudformation operation when it is not completed successfully