AFI: populate magnification and physical pixel size metadata

Fixes #12360.
Merge pull request #1176 from rleigh-dundee/xsdfu-package

xsd-fu: Use package namespaces throughout and consolidate commands
Split metadata creation in bfsave.m into a standalone function

This should allow more flexibility in the definition of custom save function
where custom metadata can be passed as an input to bfsave
Fix bfsave to let tests pass
Add checkMinimalMetadata() method to TestBfsave
Add dimension order check to checkMinimalMetadata
Add additional metatada check
Add test for additional metadata storage using bfsave()
Move reader attribute definition and teardown to TestBfMatlab
Add documentation about bfsave metadata param/key value
Fix MATLAB function headers
Rename function as createMinimalOMEXMLMetadata.m
merge develop -D org: PR 983 (Woolz: make sure the service is initialized when calling openBytes (rebased onto develop))
merge develop -D org: PR 1123 (Add a reader that accepts a file containing a file pattern)
merge develop -D org: PR 1154 (Leica: prevent exception when linking EmissionFilter)
merge develop -D org: PR 1162 (AFI: populate magnification and physical pixel size metadata)
merge develop -D org: PR 1164 (Add modulo support for LI-FLIM data)
merge develop -D org: PR 1178 (Nikon .nd2 fixes, part 2 (rebased onto develop))
merge develop -D org: PR 1181 (bfsave: metadata improvements (rebased onto develop))
merge develop -D org

Repository: openmicroscopy/bioformats
Excluded PRs:
  # PR 1161 sommerc 'Initial CellH5 Reader class' (user: sommerc)
  # PR 1141 LeeKamentsky 'Reader for Amaris FlowSight .cif format' (label: exclude)
  # PR 978 berl 'Add writing of .v3draw format for easy loading with Vaa3D.' (user: berl)
  # PR 857 melissalinkert 'Initial support for Zeiss .lms files' (label: exclude)
  # PR 858 melissalinkert 'Initial support for Veeco AFM data' (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 816 melissalinkert 'Add support for multi-channel Volocity Clipping datasets' (label: exclude)
  # PR 1015 qidane 'Messy binary' (exclude comment)
Updating f67397e..da7d745
Merged PRs (fast-forward):
  # PR 1176 rleigh-dundee 'xsd-fu: Use package namespaces throughout and consolidate commands'

Merged PRs:
  # PR 983 melissalinkert 'Woolz: make sure the service is initialized when calling openBytes (rebased onto develop)'
  # PR 1123 melissalinkert 'Add a reader that accepts a file containing a file pattern'
  # PR 1154 melissalinkert 'Leica: prevent exception when linking EmissionFilter'
  # PR 1162 melissalinkert 'AFI: populate magnification and physical pixel size metadata'
  # PR 1164 melissalinkert 'Add modulo support for LI-FLIM data'
  # PR 1178 melissalinkert 'Nikon .nd2 fixes, part 2 (rebased onto develop)'
  # PR 1181 sbesson 'bfsave: metadata improvements (rebased onto develop)'

Generated by OMERO-5.1-merge-push#304 (http://ci.openmicroscopy.org/job/OMERO-5.1-merge-push/304/)