Update .gitignore.

Add "npm-debug.log" which is created when something goes wrong when running an npm script.

Also, change the "node_modules" entry to ignore the whole folder and not just its contents.
Merge pull request #1614 from XhmikosR/gitignore

Update .gitignore.