jython: extract OMERO_HOME from Python path

OMERO 5.0.0 sets the PYTHONPATH variable to $OMERO_HOME/lib/python, so
we can extract the OMERO directory from there. This is a temporary hack
until OMERO 5.0.1 is released, which will pass OMERO_HOME too.