Added implicit inportals and outportals to workflows when there are
'flow' properties associated with workflow inputs and outputs
respectively.