workflows: update API and errors
- Workers now return directly, removing some preliminary code to close sessions.
- Adds new exception WorkflowAPIError to alert about API usage errors.
- Amends the way workflows within a workflow is initiated.
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>