update .gitignore

adding Java, Eclipse, OSX patterns to be ignored