Added gitignore and removed DS_Store files

I added a .gitignore file which contains common ignore patterns from [Github's gitignore repo](https://github.com/github/gitignore/blob/master/Global/OSX.gitignore) and removed the commited .DS_Store files.