add tests for testing the generated .gitignore to not contain spaces at
the end of a line. This will exclude ignoring a "folder " instead of
"folder"
add fix for gitignore to not contain spaces after a filename.
Merge pull request #21 from Poltergeist/bugfix/gitignore-spaces

Bugfix/gitignore spaces