HPCC-9577 - Handle sequential/parallel and refactor ifaction

With this commit ifaction/sequential/parallel can be generated
into the same graph as their actions.
This changes the way sinks are handled, to handle these 'sink'
activities and conditionally prepare/execute their inputs.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>