Task construction and writing shell scripts works in non-distributed mode. Distributed mode is broken due to null SmrtPipeContext. Added tests. Updated test files where the bas.h5 files were missing. Fixed WorkflowSettings scope bug.