HPCC-10490 Show primary clusters for XRef

In multi-thor setups, the XREF cluster list should show
primary thor instances. In this fix, getPrimaryThorProcesses()
is added to IConstWUClusterInfo. The method picks primary
thor instance only if thor name matches the group name.
Using that method, WsDfuXRef service shows primary thor
instances in the XREF cluster list.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
HPCC-10490 Rename a variable based on review

The primaryThorProcess is renamed to primaryThorProcesses
to reflect plural.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge pull request #5183 from wangkx/h10490

HPCC-10490 Show primary clusters for XRef

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>