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>
I don't like the way this is done, but I think it's intentional. before and after are complete (or completely absent), so the wildcard ("*") is only added at the point a mismatch is detected.