Fix inconsistent whitespace.

Clean up some inconsistent whitespace and remove unused imports. Add a
simple requirements.txt file which can be used as input to pip.