Fix writing of tiff description

toCharArray() is the same as getBytes('UTF-16BE')
This leads to have unicode for units not being
correctly encoded.
Add test checking that the reader used is the OME-TIFF reader.
Add doc.
Merge remote-tracking branch 'origin/dev_5_0' into rebased/dev_5_0/encoding
Check for Bin:BinData and BinData only.
Closing input stream.
Remove ref to units.
merge dev_5_0 -Dorg -Ssuccess-only: PR 1470 (Fix writing of tiff description (rebased onto dev_5_0))
merge dev_5_0 -Dorg -Ssuccess-only: PR 1475 (Decode)
merge dev_5_0 -Dorg -Ssuccess-only

Repository: openmicroscopy/bioformats
Updating 33b1150..cf77646
Previously merged:
  # PR 1466 sbesson 'Add bash script for updating copyright headers (rebased onto dev_5_0)'
  # PR 1464 sbesson 'Add script to bump version numbers (rebased onto dev_5_0)'
  # PR 1449 sbesson 'Add python-bioformats to the documentation (rebased onto dev_5_0)'
  # PR 1445 sbesson 'Update Eclipse instructions for Bio-Formats with link to ome-devel thread (rebased onto dev_5_0)'
  # PR 1446 melissalinkert 'Update version numbers to 5.0.7-SNAPSHOT'

Merged PRs:
  # PR 1470 jburel 'Fix writing of tiff description (rebased onto dev_5_0)'
  # PR 1475 jburel 'Decode'

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