Added support for writing workflow outputs to stdout.
Fixed bug in RunMetadata.
runRestFlowWithArguments() now captures stdout and stderr.
Added tests of -o option for writing workflow outputs to stdout.