HPCC-9307 initial work

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9307 Minor refactoring

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9307 Add some test cases

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9573 Option to generate actions in the same subgraph

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>