task_asfunction to run Task from Python
This MR proposes a way to make it easy to call ewoks Tasks directly from Python. The goal is to make it simpler to run tasks from Python since writing a workflow on one side and preparing the inputs from Python on the other side which turns out to be fairly verbose.