Use the unique position coordinate count as backup method of setting the position count
Improved metadata parsing

Channel names, emission wavelengths, exposure times, and physical
positions are now more completely recorded in MetadataStore.
Revert usage of addGlobalMetaList
Fix one more issue with setting the channel color
Use the unique Z position count as a last resort to determine the series count
Account for stage drift when counting unique Z positions
Moderate setId and openBytes performance improvements
Prevent seeking beyond the end of the file
One more set of performance changes

Reduces the number of skips, and removes System.arraycopy when a very
small number of bytes are being copied.
Replace erroneous call to addGlobalMetaList
One last removal of addGlobalMetaList
Fix dev_5_0-only compile error
Fix double => int wavelength parsing
Fix double wavelength compile error
Fixing indenting to remove blue highlighting
Merge pull request #1313 from melissalinkert/rebased/develop/fix-cli-dev

Fix CLI tools when used from a source working copy (rebased onto develop)
Merge pull request #1312 from melissalinkert/rebased/develop/5.0.4-version-history

Update release notes for 5.0.4 (rebased onto develop)
Merge pull request #1304 from imunro/develop-INC_PQbin_tbase_correction

Correct timebase for picoQuant .bin files.
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only: PR 1154 (Leica: prevent exception when linking EmissionFilter)
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only: PR 1302 (Add branch-specific link for downloading the JAR file if unfound (rebased onto develop))