Removed .DS_Store files and added to gitignore

.DS_Store files are OS X metadata, so I've removed them and added to .gitignore.
Also ignored the private NetBeans project directory.