First pass at PEP8 cleanup

Basic PEP8 cleanup for most files. No functional changes.