Remove trailing spaces.
Update .gitignore.