BUG: binom_test failed for some values, closes issue #2384
TST: binom_test more unittests for edgecase and close
REF: binom_test add shortcut for special case (unit tests previous commit)
BLD: track add_library dependencies in distutils

Distutils does not automatically track source dependencies to
numpy.distutils add_library libraries. So it needs to be manually.

This commit causes the appropriate extension modules be rebuilt if a
change has been made in some of the sources of the libraries it depends
on.
DOC: copy-edited the release notes and noted a few more enhancements; added 'cosine' to the 'signal' package docstring.
Merge pull request #2737 from pv/special-depends

BLD: track add_library dependencies in distutils
Merge pull request #2736 from josef-pkt/BUG_binom_test_2384

BUG: binom_test issue #2384
Merge pull request #2743 from WarrenWeckesser/doc-rel-notes

DOC: copy-edited the release notes and noted a few more enhancements; added 'cosine' to the 'signal' package docstring.
DOC: add integrate.nquad to the integrate module tutorial.
DOC: include integrate.nquad in reference guide.
Merge branch 'pr/2739' into master.

https://github.com/scipy/scipy/pull/2739
TST: fix test failure for stats.chisquare with masked arrays.
BUG: allow .moment to take shapes as keywords.
BUG: allow also rv_discrete.moment to take shape as keywords.

Also fix a test issue for moment() in the continuous tests.
Merge branch 'moment' into master.

Contains relevant commit of https://github.com/scipy/scipy/pull/2753 and an
extra bugfix.
MAINT: small error message change in linalg.solve_triangular. Closes gh-2664.
Merge branch 'pr/2749' into master.

https://github.com/scipy/scipy/pull/2749