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

Fix some issues with the threading in the python example, and use #option
rather than command line flags to pick up required library.

This example should now work 'out of the box' on a standard linux install.

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