Update .gitignore with IDEA and build/* patterns