Fixes gitignore to ignore directories properly

http://stackoverflow.com/a/8783675/1585343
http://git-scm.com/docs/gitignore
Merge pull request #128 from austinpray/fixignore

Fixes gitignore to ignore directories properly