HPCC-8030 R/Java/JavaScript/Python language support in ECL

Use utf8 for the script body (including when supplied as an expression).

Other changes as suggested by code review.

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