DOC: Add example plots for cosine window

and minor tweaks to match other docstrings
also known as "sine window"
DOC: make window function Returns strings consistent
DOC: Make Bartlett window docstring less awkward
Merge pull request #2854 from endolith/patch-3

DOC: Add plot examples to cosine window, make docstring consistent with others