HPCC-10941 Add mechanism for finding queries that use a given file

Build a cache of files used by queries.  Update cache when DALI changes
in QuerySets, PackageMaps, or PackageSets are detected.

Add method to WsWorkunits to WUListQueriesUsingFile.

Create a report xslt for the result, and add a link to the the
context menu for roxie files listed on the browse dfu files page.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-11082 - Global LOOP with row condition must recheck finishing

A global LOOP with a condition on thw rows, must recheck the
'finishedLooping' condition. Just because there are 0 rows to
process at the start of the loop, does not mean there will be 0
after the next execute in the global case.

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

HPCC-11082 - Global LOOP with row condition must recheck finishing

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #5568 from afishbeck/queriesUsingFile

HPCC-10941 Add mechanism for finding queries that use a given file

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11087 - Track subs swapped as part of swap/promote

SwapSuperFile and PromoteSuperFile were not tracking the subs
removed/added between supers in a transaction. As a consequence
if there were incompatibilities between old and new subs, then
the transaction mechanism spuriously detected the old+new as
incompatible and threw and error, even though they weren't in the
same super at the same time.

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