Merge pull request #1332 from melissalinkert/snapshot-revert

Revert "Update POM version numbers to 5.1.0-m1"
Close the RandomAccessInputStream in a finally block

As the stream is wrapping a byte array, there isn't a file handle
involved; this can't really hurt though.
Use 'if'  instead of 'while' for skipping bytes

currentBit will not be greater than 7, and skipBits will not be greater
than 7, so at most one extra byte needs to be skipped.
Merge pull request #1330 from rleigh-dundee/sphinx-tabularycol

doc: Work with sphinx 1.2.3
Make sure the dirty byte is flushed before writing bytes
Merge pull request #1322 from rleigh-dundee/cpp-gtest

cpp: Add embedded gtest
Tidy up bit writing and skipping methods
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 1296 (Add test for getRequiredDirectories)
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))
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only: PR 1306 (Add support for PrairieView version 5.2 datasets)
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only: PR 1311 (Performance and position count fixes for ND2 (rebased onto develop))
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only: PR 1317 (Gatan: fix physical dimension parsing when the Z size is missing)
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only: PR 1323 (Add bit-level operations to RandomAccess{Input, Output}Stream)
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only: PR 1324 (Deltavision: conditionally ignore stage position values of 0)
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only: PR 1331 (C++: Add FormatWriter interface)
merge develop -Dorg -Ijburel/openmicroscopy:qa-submit-new -Ssuccess-only

Repository: openmicroscopy/bioformats
Excluded PRs:
  # PR 1249 PremyslFiala 'ND2 - Bug fixes' (user: PremyslFiala)
  # PR 1315 LeeKamentsky 'IM3Reader for Perkin-Elmer Nuance' (user: LeeKamentsky)
  # PR 1265 qidane 'New units' (label: exclude breaking)
  # PR 1177 rleigh-dundee 'specification: Add metadata for HDF5 embedding' (exclude comment)
  # PR 1015 qidane 'Messy binary' (exclude comment)
  # PR 1328 sbesson 'Use in-place caching by default in Memoizer' (label: exclude)
  # PR 1161 sommerc 'Initial CellH5 Reader class' (user: sommerc)
  # 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 1309 melissalinkert 'Allow tile-based access of large JPEG-2000 images' (exclude comment)
  # PR 857 melissalinkert 'Initial support for Zeiss .lms files' (label: exclude)
  # PR 1141 LeeKamentsky 'Reader for Amaris FlowSight .cif format' (label: exclude)
  # PR 858 melissalinkert 'Initial support for Veeco AFM data' (label: exclude)
Updating 83a5796..aea5757
Previously merged:
  # PR 1322 rleigh-dundee 'cpp: Add embedded gtest'
  # PR 1330 rleigh-dundee 'doc: Work with sphinx 1.2.3'
  # PR 1332 melissalinkert 'Revert "Update POM version numbers to 5.1.0-m1"'

Merged PRs:
  # PR 1154 melissalinkert 'Leica: prevent exception when linking EmissionFilter'
  # PR 1296 melissalinkert 'Add test for getRequiredDirectories'
  # PR 1302 sbesson 'Add branch-specific link for downloading the JAR file if unfound (rebased onto develop)'
  # PR 1306 ctrueden 'Add support for PrairieView version 5.2 datasets'
  # PR 1311 melissalinkert 'Performance and position count fixes for ND2 (rebased onto develop)'
  # PR 1317 melissalinkert 'Gatan: fix physical dimension parsing when the Z size is missing'
  # PR 1323 melissalinkert 'Add bit-level operations to RandomAccess{Input, Output}Stream'
  # PR 1324 melissalinkert 'Deltavision: conditionally ignore stage position values of 0'
  # PR 1331 rleigh-dundee 'C++: Add FormatWriter interface'

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