F18 pep8 fixes

Also: move pep8 options used in several places into setup.cfg.
F18 pylint fixes