BUG: misc: Ensure that the 'size' argument of PIL's 'resize' method is a tuple.

In Pillow 2.5.3, the code for the 'resize' function has a statement of the
form 'if self.size == size: ...'.  The expectation is that 'self.size' and
'size' are tuples.  If 'size' is a numpy array, the comparison raises
'ValueError: The truth value of an array with more than one element is
ambiguous.'

This commit ensures that the 'size' argument passed to the 'resize' method
is a tuple.

Closes gh-4032.
MAINT: misc: Remove unused imports and do some PEP8 clean up in pilutil.py.
BUG: expm of integer matrices
TST: strengthen the test for expm of integer matrices
Merge pull request #4051 from argriffing/expm-integer

BUG: sparse: expm of integer matrices
BUG: stats: Refactor argument validation to avoid a unicode issue.

Fixes the handling of a unicode argument to the binned statistics
functions.

Closes gh-4026.
Merge pull request #4053 from WarrenWeckesser/binned-stat-str

BUG: stats: Refactor argument validation to avoid a unicode issue.
Added newline to documentation for correct display.
Merge pull request #4057 from alexeyum/svds-doc

Added newline to scipy.sparse.linalg.svds documentation for correct display.
Merge pull request #4041 from WarrenWeckesser/imresize-tuple

BUG: misc: Ensure that the 'size' argument of PIL's 'resize' method is a tuple.