Add .gitignore to the project.

Git will ignore all non source directories and files.