CLOUDIFY-1535 Added a FAILED state to candidate node lifecycle.