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