Adding .gitignore for project

Based on the README.md gitignore for java projects.