Failure healing policies

Generic autoheal workflow + refactor in workflows.py
I understand the problem here. This already happens between different classes of this module but I would rather have the public API clean and have some dirt inside