HPCC-8541 - Add examples illustrating calling Python and Java from ECL

Fix some issues with the threading in the python example.

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