Split off candidate-4.0.6 branch

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10481 - Dynamic group leaves groupType uninitialized

A DFS lookup of a dynamic group, e.g. a ip set, left the
referene groupType uninitialized. Consequently it could caused
out of range array lookups into the default replication paths.
This happened when the replication directory of the
ClusterPartDiskMapSpec of a ClusterInfo instance was setup
which was introduced by the previous commit of this issue.

Default groupType to grp_unknown if lookup group based on
ip's.

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

HPCC-10481 - Dynamic group leaves groupType uninitialized

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge branch 'candidate-4.0.6' into closedown-4.0.x

Conflicts:
	version.cmake

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge branch 'closedown-4.0.x' into candidate-4.0.6

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>