HPCC-12250 Allow pluggable interface to workunit creation

Initial work on splitting the workunit implementation so that Dali-specific code is isolated
I don't know. And I doubt it will actually happen in our anticipated usage, but if it does we will find out, and fix later. I'll put in a comment noting the potential issue.