Fix generate error when .gitignore is missing.

The Rails generator errors out when there is to .gitignore file.
This creates it if it's missing.

Fixes #35
Merge pull request #85 from adamcrown/missing_gitignore_generate_error

Fix generate error when .gitignore is missing.