monic is a boolean parameter: False instead of 0
use True/False for boolean `mu` arguments
STY: autopep8 and some manual cleanup

but didn't modify some ugly lambdas
DOC: expand scipy.special.legendre docstring

(I think n must be int, but not sure.)
Merge pull request #3795 from endolith/patch-5

STY: special: improve legendre docstring + pep8 etc. cleanups