Normalize line endings

This branch normalizes all CRLF line endings which makes it easier to work with the code on Mac OSX. I followed [GitHub's own instructions](https://help.github.com/articles/dealing-with-line-endings) for converting an existing repo.

I'd like to make some additional commits and pull requests, but I'll end up with a bunch of whitespace diffs unless I do this first.