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
AFI: populate magnification and physical pixel size metadata

Fixes #12360.
Fixing imaris file spec FAQ link
add missing import
merge dev_5_0 -D org: PR 1172 (Inveon: ignore the absolute path to the image file (rebased onto dev_5_0))
merge dev_5_0 -D org: PR 1180 (Ignore namespaces when filling in an XMLAnnotation's Value (rebased onto dev_5_0))
merge dev_5_0 -D org: PR 1182 (Nikon .nd2 fixes, part 3)
merge dev_5_0 -D org: PR 1183 (OME-TIFF: close helper readers when working with single-plane files)
merge dev_5_0 -D org: PR 1186 (CZI: prevent NumberFormatExceptions on missing/invalid position values)
merge dev_5_0 -D org: PR 1188 (AFI: populate magnification and physical pixel size metadata (rebased from develop))
merge dev_5_0 -D org: PR 1189 (Fixing imaris file spec FAQ link)
merge dev_5_0 -D org

Repository: openmicroscopy/bioformats
Updating 623cd6d..f152f40
Merged PRs (fast-forward):
  # PR 1184 hflynn 'Fixing imglib scifio github link'
  # PR 1146 sbesson 'bfsave: metadata improvements'
  # PR 1179 melissalinkert 'Fix channel count when exporting RGB images in ImageJ (rebased onto dev_5_0)'
  # PR 1167 melissalinkert 'Nikon .nd2 fixes, part 2'
  # PR 1173 melissalinkert 'ImportProcess: remove UI-level exception reporting (rebased onto dev_5_0)'
  # PR 1171 mtbc 'assist #12385: use ArrayList instead of Vector (rebased from develop)'
  # PR 1153 melissalinkert 'CZI: prevent AIOOB exception when populating position metadata'
  # PR 1159 melissalinkert 'First round of Nikon ND2 fixes'
  # PR 1160 joshmoore 'Make private class in DV reader public (see #12358) (rebased onto dev_5_0)'
  # PR 1139 imunro 'Fix for BH .Sdt meas mode 0 & 1 single pixel files & (unrelated) problem with dividing by increment count.'
  # PR 1150 melissalinkert 'Allow dist-matlab to run on Windows (rebased onto dev_5_0)'
  # PR 1157 hflynn 'Removing dead link from Minolta-MRW format page'
  # PR 1144 hflynn 'Updating Zeiss links'
  # PR 1151 hflynn 'Comstat2 link'
  # PR 1134 sbesson 'Add prefix to zip file produced by dist-bftools target'
  # PR 1140 hflynn 'Add 'show and edit on Github' to docs side menu'
  # PR 1143 joshmoore 'Memoizer errs'

Merged PRs:
  # PR 1172 melissalinkert 'Inveon: ignore the absolute path to the image file (rebased onto dev_5_0)'
  # PR 1180 melissalinkert 'Ignore namespaces when filling in an XMLAnnotation's Value (rebased onto dev_5_0)'
  # PR 1182 melissalinkert 'Nikon .nd2 fixes, part 3'
  # PR 1183 melissalinkert 'OME-TIFF: close helper readers when working with single-plane files'
  # PR 1186 melissalinkert 'CZI: prevent NumberFormatExceptions on missing/invalid position values'
  # PR 1188 mtbc 'AFI: populate magnification and physical pixel size metadata (rebased from develop)'
  # PR 1189 hflynn 'Fixing imaris file spec FAQ link'
Generated by OMERO-5.0-merge-push#72 (http://ci.openmicroscopy.org/job/OMERO-5.0-merge-push/72/)