ND2: ignore invalid image offsets

Fixes QA 7534, #11305.
ND2: rework text annotation parsing so that dimensions are not overlooked

Fixes #12205.
ND2: set SizeT to the number of offsets if there is no dimension metadata

See #10773.
Do not adjust offset count if only one offset is present
One more fix to prevent equal-size planes from being ignored
Fix channel metadata population for multi-series data
Fix off-by-one in LZW decoding

See
http://lists.openmicroscopy.org.uk/pipermail/ome-users/2014-July/004566.html
merge develop -D org: PR 983 (Woolz: make sure the service is initialized when calling openBytes (rebased onto develop))
merge develop -D org: PR 1154 (Leica: prevent exception when linking EmissionFilter)
merge develop -D org: PR 1191 (FakeReader improvements, part 1)
merge develop -D org: PR 1199 (Nikon .nd2 fixes, part 3 (rebased onto develop))
merge develop -D org: PR 1200 (Fix off-by-one in LZW decoding)
merge develop -D org

Repository: openmicroscopy/bioformats
Excluded PRs:
  # PR 1161 sommerc 'Initial CellH5 Reader class' (user: sommerc)
  # PR 857 melissalinkert 'Initial support for Zeiss .lms files' (label: exclude)
  # PR 1015 qidane 'Messy binary' (exclude comment)
  # PR 1141 LeeKamentsky 'Reader for Amaris FlowSight .cif format' (label: exclude)
  # PR 1177 rleigh-dundee 'specification: Add metadata for HDF5 embedding' (exclude comment)
  # PR 1136 melissalinkert 'Add initial support for reading BinaryOnly OME-TIFF datasets (rebased onto develop)' (label: exclude)
  # PR 1054 qidane 'Additional annotation points throughout the model' (exclude comment)
  # PR 978 berl 'Add writing of .v3draw format for easy loading with Vaa3D.' (user: berl)
  # PR 816 melissalinkert 'Add support for multi-channel Volocity Clipping datasets' (label: exclude)
  # PR 858 melissalinkert 'Initial support for Veeco AFM data' (label: exclude)
Updating d97529d..cc0474c
Merged PRs (fast-forward):
  # PR 1193 melissalinkert 'Leica LIF: do not set Channel.Color for RGB images'
  # PR 1192 melissalinkert 'DICOM: fix units for physical sizes'
  # PR 1195 melissalinkert 'OME-TIFF: close helper readers when working with single-plane files (rebased onto develop)'
  # PR 1178 melissalinkert 'Nikon .nd2 fixes, part 2 (rebased onto develop)'

Merged PRs:
  # PR 983 melissalinkert 'Woolz: make sure the service is initialized when calling openBytes (rebased onto develop)'
  # PR 1154 melissalinkert 'Leica: prevent exception when linking EmissionFilter'
  # PR 1191 melissalinkert 'FakeReader improvements, part 1'
  # PR 1199 melissalinkert 'Nikon .nd2 fixes, part 3 (rebased onto develop)'
  # PR 1200 melissalinkert 'Fix off-by-one in LZW decoding'
Generated by OMERO-5.1-merge-push#322 (http://ci.openmicroscopy.org/job/OMERO-5.1-merge-push/322/)