PEP8 fixes

PEP8 fixes in the photutil codes. I didn't touch the white space issues around arithmetic operators suggested by my editor as the current way is more pep8 compatible than the suggestions.
This results in a sphinx warning ... leading travis-ci to fail:
https://travis-ci.org/astropy/photutils/jobs/26990827#L1063