Code changed to get ome-io to compile

Test with: ant clean ome-io
TEMP COMMIT - getting round omero dependancy

To be reverted later.