ENH: signal: add detrend=False as parameter for periodogram and welch
TST: add test for signal.welch(detrend=False).

Also some style cleanups.
Merge branch 'pr/3266' into master.

Reviewed at https://github.com/scipy/scipy/pull/3266