Added gitignore for Java projects managed by Maven.