Failure healing policies

Generic autoheal workflow + refactor in workflows.py
move this logic inside _build_workflow_nodes_and_node_instances where we build the rest of the node/node_instances/relationships/relationship intances