Fix PEP8 styling

Most of the files in the repo didn't comply with the PEP8 style guide (http://www.python.org/dev/peps/pep-0008/). Fixed all of those errors.