ENH: stats: Some enhancements to the chisquare functions:

* Add the `axis` argument to stats.chisquare and stats.mstats.chisquare.
* Add the `ddof` argument to stats.mstats.chisquare.

Closes gh-2108 (trac #1583).
Modified the interpretation of the axis argument.

It is now the axis of the array resulting from broadcasting f_obs
and f_exp.

Also simplified the code a bit.
Update the docstring for mstats.chisquare, and change the casting of ddof in mstats.chisquare so the p value data type is correct when axis=None is used.
ENH: Added bool_ops.h file which wraps npy_bool data to handle bool operations.
MAINT: stats: Improve chisquare docstrings, and add tests that compare stats.mstats.chisquare to stats.chisquare.
ENH: numpy.i & sparsetools.i interface files now include the bool_ops.h file to handle the npy_bool dtype.
ENH: Regenerated *.py and *.cxx files with SWIG
TST: Added tests for .toarray() & .todense() methods for dtype=bool spmatrices.
Merge pull request #2480 from WarrenWeckesser/stats-chisquare

ENH: stats: Some enhancements to the chisquare functions:
BUG: accept scalar mysize argument in signal.wiener

This makes it consistent with the documentation.
MAINT: fix non-integer usage in scipy.spatial.
MAINT: signal: clean up argument check in medfilt, medfilt2d, wiener
MAINT: fix non-integer usage in cluster and sparse.
MAINT: fix non-integer usage in io, interpolate and optimize.
MAINT: incorrect non-integer usage fixes: address comments @charris on pr-2533.
DOC: fix spatial.distance.squareform() argument/return parameters
MAINT: fix one more occurrence of np.prod inside reshape.
Merge pull request #2536 from christianmbrodbeck/doc

DOC: fix spatial.distance.squareform() argument/return parameters
Merge pull request #2533 from rgommers/fix-nonint-usage

Fix incorrect non-integer usage in function calls.
DOC: sparse: add link to Strongly Connected Components algorithm details.