Pep8 numpy polynomial

One bug and various PEP8 and maintenance fixes for files in `numpy/polynomial`. The PEP8 fixes are conformant with the scipy PEP8 checks.

This has been rebased on the base common to maintenance/1.9.x and master in case we want to backport the bug fix.