HPCC-11783 Return NodeGroup in WUInfo ECLResult

The WsWorkunits/WUInfo is updated to return 'NodeGroup'
inside the ECLResult when the result has a 'logicalName'.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
did you mean line 1334: +    const char* cluster = f->queryProp("@cluster"); ?

So that is something like 'mythor'
You might have multiple clusters, e.g. 'mythor', 'mythor2' and 'mythor3' - all sharing the same nodegroup.

You are only interested in one here, and you are looking up cluster->nodegroup - so functionally it's okay.

However, a mapping function from cluster name->nodegroup shouldn't be in Esp service code, it should be in a common library, workunit, dfs. Iif it isn't already, one should be added there, then ws_workunits should use it.

It also shouldn't have to work so hard to map, i.e. getting all cluster/groups and linearly scanning.
There should be more direct impl. that looks up in the environment.
Also, files could (if not now) be published by Roxie, so those clusters should be checked too.