HPCC-11775 Improve efficiency of WUiterate in Sasha

WUiterate which scans and filters archives and online workunits,
accessed Dali in an inefficient way, especially in the case of
requesting a single workunit.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11775 Fix minor issues spotted in review

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11775 Revert unfiltered test

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11775 Fix unrelated bug spotted during review

If before/after heads match, but have differing tail '-<n>'
extensions, no wildcard would be added and the iterator would
not pick them up.

Highly unlikely ever hit in practice.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #6126 from jakesmith/hpcc-11775

HPCC-11775 Improve efficiency of WUiterate in Sasha

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>