Apply PEP8 formatting across repo

I didn't touch the template files, but otherwise hit about every `.py` file in the repo. @fscottfoti can you checkout this branch and try to run something? In theory I've changed nothing but formatting, but it'd be good to be sure.