Add import omero.gateway to scripts
Put conn.getSession() bug workaround into script
Minor fixes to example()