Merge pull request #5061 from jakesmith/hpcc-10288b

HPCC-10288 - Add RemoveOwnedSubFiles

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5053 from jakesmith/hpcc-10287

HPCC-10287 - Catch out of order supers when removing a subfile

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Split off candidate_4.0.4 branch

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10287 - Add check for inadequencies of transaction impl.

Avoid assert/crash if subfile being checked isn't actually in
the commited superfile structure, e.g. because it has just been
added in the transaction

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>