Enhanced .gitignore
Changes mainly for netbeans and intellij. Plus some small cleanups.
Merge pull request #160 from bartoszmajsak/gitignore

Enhanced .gitignore