PSR-2 compliance

Cleaned up some line endings, indents, superfluous whitespace, et
cetera.