Added .gitignore file.

Global definitions for OSX, Windows and Linux; see:
   https://github.com/github/gitignore/tree/master/Global
   https://github.com/github/gitignore