BUG: Add support for system libtiff 4.0.0-4.0.2

This patch provides a work around for using a system libtiff for
version 4.0.0-4.0.2. The TIFFField data structure was made opaque, but
the necessary methods to access the member to inspect the tiff fields
were only made available in 4.0.3. This patch inspects the headers for
this case, and provides a copy of the declaration for the internal
structure defined in tif_dir.h for uniform access.

Change-Id: I636b7322f02c99b463db83abac6b6f52c4b9dfb3
Merge topic 'UseSytemTiff4.0.2'

dd5a6c3f BUG: Add support for system libtiff 4.0.0-4.0.2
ENH: Bump FFTW to 3.3.3.

Also use midas3.kitware.com to host the tarball and improve download
reliability.

Change-Id: Icae54c78687319f55d9a3dd41bc28eeff53f16dd
BUG: remove second wrapping of BinShrink for scalars

Change-Id: I8942463100eb917a96825452cbce2807fe87c123
Merge topic 'WrapITKFixDoubleWrapBinShrink'

e24fda80 BUG: remove second wrapping of BinShrink for scalars
ENH: Use python warnings module for template warnings

I changed the output of the warnings to go through the warnings module.
See : http://docs.python.org/library/warnings.html

The warnings are still sent to stderr by the warnings module.
The warnings are also formatted to not display the filename and the linenumbers, as this will always
display the same lines in itkTemplate.py

Users can now disable warnings with the following lines before importing ITK :
import warnings
warnings.filterwarnings("ignore")

or by running python with : python -W ignore foo.py
COMP: Duplicated wrapping for double in Array2D
Merge topic 'Array2D-wrapping-release'

41cfb015 COMP: Duplicated wrapping for double in Array2D
Merge topic 'Python-warnings'

16e346b7 ENH: Use python warnings module for template warnings
STYLE: Coverity 1103107-1103116: Logically dead code

Change-Id: I3bfe33d0d563a09c0cfc5c3f019b6c18b25d56dd
Merge topic 'cov_1103107'

3e4187fa STYLE: Coverity 1103107-1103116: Logically dead code
Merge topic 'fftw-midas2'

7a4fb5b4 ENH: Bump FFTW to 3.3.3.
COMP: Update SWIG to 2.0.12

Should fix the warnings on the Fedora-19-x86_64_WrapITK dashboard machine.
There are 761 of these errors :
warning: variable 'md' set but not used [-Wunused-but-set-variable]
   PyObject *m, *d, *md;

The bug was fixed here:
https://sourceforge.net/p/swig/bugs/1246/

Change-Id: I86a0f2e811d1b079a308caf20093475f8b9e23b4
BUG: Fix LabelStatistics and LabelOverlap to require same image size

Prior, setting images which different sizes resulted with iterators
invalid regions set causing undefined behavior, asserts, and potential
access violations.

This patch removes the overridden GenerateInputRequestedRegion method,
for the default. The default implementation ensures that all inputs
have the same requested region matching that of the first input, which
matches the output region, which is explicitly set to the largest
possible region of the output in EnlargeOutputRequestedRegion, which
is the size of the first input. Therefore if the second image is
smaller that the first, an exception will be generated in the second
input's PropagateRequestedRegion method indicating the request is too
big.

This case is testing in SimpleITK's generated tests.

Change-Id: If223fe9be1e9e1f6dc1a8459b039028840bc4910
BUG:  Ignored the case for exceeding iteration limit.

After optimization at each level we need to reset the
lower and upper time bounds to [0,1] to span the full
time range for describing the transform between the
fixed and moving image.  Prior to this commit, this
reset would only occur if the convergence value was
exceeded leaving out the case where the number of
iterations were exceeded.

Change-Id: I142ecc8a22610c79cfed37668e0f8b33b621bb82
Merge topic 'TimeVaryingIterationCheck'

6b9def96 BUG:  Ignored the case for exceeding iteration limit.
Merge topic 'Update-SWIG'

bfad2da1 COMP: Update SWIG to 2.0.12
Merge branch 'Array2D-wrapping-release' into release

Change-Id: I24c541a60d5a15f1b1332cf4369aa03d6be34261
Merge branch 'release'

Change-Id: Id1be0c29949e92a7a7b50795a9fbffdc2e6fb193
Merge topic 'FixLabelStatisticsRequiresSameInputRegions'

39f4d339 BUG: Fix LabelStatistics and LabelOverlap to require same image size