HPCC-10080 Add Activated flag to WUListQueries response

Add Activated flag to WUListQueries response for each
individual query.

Also fix a bug: the Activated flag should be read using @id,
not @name.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-9378 Remove DISTRIBUTE from the RHS of a global lookup join

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10078 Not return error when calling WUQueryDetails for hthor query

The existing code throws an exception when a WUQueryDetails is called
for non roxie query. It is because the WUQueryDetails trys to get graph
IDs for the query, but, right now, only roxie supports cumulative stats.
This fix returns 0 graph (not exception) if non roxie query is detected.

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

HPCC-10078 Return 0 graph when calling WUQueryDetails for hthor query

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4876 from ghalliday/issue9378

HPCC-9378 Remove DISTRIBUTE from the RHS of a global lookup join

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4875 from wangkx/h10080

HPCC-10080 Add Activated flag to WUListQueries response

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>