add .gitignore for JetBrains, OSX, Java and Maven