Add a script to check whether files in the working directory have trailing whitespaces.
Add a rule in Travis to check for trailing whitespaces.
Merge pull request #238 from mounirlamouri/travis_trailing
Fix encoding of comments.

This makes some files use utf-8 and fixes a weird quote in another comment.
Update gitignore to catch more cmake cruft.
Fix Mac build w/o freetype.
Merge pull request #245 from jorgenpt/mac-no-freetype-fix

Fix Mac build w/o freetype.