BUG: Fix itk_module_config for repeated calls

Fix use of _${ns}_${mod}_USED settings to block reporting a module more
than once in a single itk_module_config call.  Do not leak the
_${ns}_${mod}_USED settings outside a single call to itk_module_config
so that a future call to the macro with the same ${ns} will use a fresh
set of modules.

Change-Id: I422e415f45db877512a0dcd3c588d9f74d32f515
BUG: Remove Zeiss 2-channel support code in TIFFImageIO ( and LSMImageIO )

There are no tests for this branch of code. It only works in 3D under
certain cases. There are apparent bugs in the code such as not setting
all of the input image, and logically dead branches. Some downloaded
test images for similar described format do not load. This may effect
files with the extensions tif, tiff, or lsm.

Removal of this code will enable expansion of the current code to more
generically support multi-sample per pixel images.

For more robust reading of this type of image the SCIFIO remote
module should be used.

Change-Id: Idb98d69538db3bc8520881ea4a5e22476238c41e
ENH: Refactor method to convert RGBA image to output buffer

BUG: Address overflow issue when computing page offset with
TIFFReadRGBAImage method.

Extract repeated code to convert from ReadRGBAImage to output image
type.

Change-Id: Ia90b5e104f22c77493b8a4cd5bf640fd793b8b4b
ENH: Refactor duplicated code to read a page

Created a method to read a single page or sub-image in a tiff
file. Simular code was both in the ReadVolume method for 3-d and the
Read method for 2-d. The code block from ReadVolume was used because
it contained more typed cases. There for this patch does improve the
2d reading capabilities for tiffio, so that they are consistent with
the 3d.

Change-Id: I0fbfb19f04435a703bb3fa09ea4e79179592e443
COMP: Fix various Coverity warnings

Looking through the Coverity warnings, almost all
were low hanging fruit, so I fixed several.

Change-Id: I76f2b8b45229d98729de6f63f2ef86a969749235
BUG: Fix right oriented tiff images

The TIFFImageIO::ReadGenericImage method correctly handled top-left
oriented images, and bottom-right image, however images oriented with
right were non-correctly handled. These cases are now handled
correctly by the TIFFRGBAImage generic path.

New test images of the cthead1 image were added which have been
flipped the to the different orientation, and the matching orientation
tag specified so that they should all be read as equivalent
images. These have been added as a test case.

Change-Id: I058382d6d2e18341ab87edd165490be2187c1d15
BUG: Remove dead separated plannar code, add test

The PLANARCONFIG_SEPARATE block in TIFFImageIO::ReadGenericImage, was
preceded by a unreachable due to a conditional and exception
check. Support for this configuration remains in the TIFFReadRGBAImage
method. A test for the configuration has been added.

A new input image is added from the from the libTiff test images:

PlanarConfiguration = 2 (separated samples)
-------------------------------------------
oxford.tif      601x81 8-bit RGB (lzw) screendump off oxford

Change-Id: Ibb874f80809b70b1aee7a2c9ff1fc8544ed56c04
BUG: Use array delete operator for array new allocations

Change-Id: Ic9bc3c3792083a1a1b3fd842486a7436a4086150
Merge topic 'FixTIFFIONonArrayDeleteOperator_release'

795c71ab BUG: Use array delete operator for array new allocations
Merge topic 'MiscCoverityWarningsFix'

1026584b COMP: Fix various Coverity warnings
Merge topic 'module-api'

ee321c2a BUG: Fix itk_module_config for repeated calls
BUG: split include directories into appropriate cmake variables HDF5

ITKHDF5_SYSTEM_INCLUDE_DIRS does not get modified after installation, so with
system version of HDF5, the corresponding Modules.cmake still contains some
reference to the binary tree which may not exist anymore.

Change-Id: Ia62c614485f55f857365f99843ea8dda6650a9bb
Merge topic 'SystemHDF5_release'

ac429396 BUG: split include directories into appropriate cmake variables HDF5
Merge topic 'TIFFRefactor'

c7a76c9a BUG: Remove dead separated plannar code, add test
1b57d759 BUG: Fix right oriented tiff images
6263f438 ENH: Refactor duplicated code to read a page
233571f1 ENH: Refactor method to convert RGBA image to output buffer
1cd59825 BUG: Remove Zeiss 2-channel support code in TIFFImageIO ( and LSMImageIO )