HPCC-11304 Field translation options not working correctly

There are several mechanisms for controlling whether field translation should
be allowed.

 1. In the workunit, using #option (layoutTranslationEnabled,1)
 2. In the package file, using control:enableFieldTranslation=”1”
 3. In the RoxieTopology.xml file, using fieldTranslationEnabled=”1”

The global setting can be overridden temporarily (until the next time “service
hpcc-init start” is executed) using testsocket

In theory, the workunit setting should (if present) override the package file,
which should in turn (if present) override the global setting. If none are
present, field translation is disabled.

However, the workunit setting was always used, defaulting to false if not
present.

Also make the control: optional in the package file for back-compatibility

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge branch 'master' into candidate-5.0.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-5.0.0' into closedown-5.0.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11143 List Queries associated with a WU

Fixes HPCC-11143

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-11253 Do not lock superfiles in roxie

Don't include spill files or write activities.

Handle opt flag on indexes properly.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5788 from GordonSmith/HPCC-11143

HPCC-11143 List Queries associated with a WU

Reviewed-By: Kevin Wang <kevin.wang@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5790 from richardkchapman/roxie-file-fixes

HPCC-11253 Do not lock superfiles in roxie

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #5774 from richardkchapman/enable-field-translation

HPCC-11304 Field translation options not working correctly

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge branch 'candidate-4.2.6' into candidate-5.0.0

Conflicts:
	roxie/ccd/ccdquery.cpp

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge branch 'master' into candidate-5.0.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-5.0.0' into closedown-5.0.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/closedown-5.0.x'

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