ENH: add a cosine window function to signal.windows
MAINT: address review comments on PR 2546.
TST: add basic test coverage of all functions in signal.windows
Merge branch 'pr/2546' into master.

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