PEP8 and pyflakes compliance and testing -- plus adding some files I forgot in the last commit.