Delete examples 11930 develop

--rebased-from #2047

Updated delete examples - see https://trac.openmicroscopy.org.uk/ome/ticket/11930

To test, run the Java and Python examples.