Add script for cleaning up whitespace
Clean up whitespace

This commit is the result of running cleanup-whitespace.sh.

Fixes #549.