2.1.41: Merge pull request #351 from HSF/dev
(1) add options to define the iworkflow name
(2) encode presetup and setup for iworkflow
(3) fix to handle broken task status
(1) add options to define the iworkflow name
(2) encode presetup and setup for iworkflow
(3) fix to handle broken task status