Cleaned up ome.scifio.formats package

Fixed and added comments, simplified code and reduced repeated
statements.