HPCC-9629 New language features to support bundles

Various minor (and less minor) bug fixes.

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