Fix gitignore exclusion patterns

For details, see [this](http://stackoverflow.com/questions/5533050/gitignore-exclude-folder-but-include-specific-subfolder) SO thread.