ND2: always set the field index to 2

This should fix plane ordering issues reported in
http://lists.openmicroscopy.org.uk/pipermail/ome-users/2014-March/004287.html
and QA 7983.
CellSens: initial support for reading internal pyramids

Fix loop over the number of resolutions

Fix optimal tile size reporting for subresolutions

Do not allow subresolutions to overwrite tile dimensions

Make image reading consistent regardless of the flattened resolution setting

Make sure tile coordinate hash codes are consistent

Fix thumbnail reading for unflattened resolutions
Prevent channel count from being incorrect for subresolutions
Fix endianness/interleaved settings for subresolutions
Set Objective.NominalMagnification in the SVS reader
TiffSaver: pad truncated strips with zeros
JPEG-2000: allow boxing to be stripped

Also, fix how quality settings are propagated.
TiffWriter: update internal API scope to ease subclassing
TiffWriter: make checkParams protected so that subclasses can use it
JPEG2000Codec: make sure the last input stream is closed
Fix JPEG-2000 options to unbreak tests
SDT: enable preloading by default
SDT: whitespace fixes
xsd-fu: C++ OMEModelObject template avoids DOM text content rvalue references

Needed to build with clang++ on FreeBSD, and fixes a type conversion error.
cmake: Add extra-warnings option
cpp: bioformats: SaveSeries can not throw on destruction
cpp: bioformats: Correct currentId assertions in FormatReader
cpp: Add test component

The test component produces an ome-test static library which all tests
should link against.  This depends upon gtest and provides headers which
tests may use.  This consolidates the test dependencies into a single
place, and allows the provision of common test facilities which may be
used by all tests.
cpp: test: xerces tests use ome-test and gtest
merge develop -D org: PR 857 (Initial support for Zeiss .lms files)