Ignore some more files that we don't want in git.

.idea is the PhpStorm project folder.
*.un~ is used by a vim extension.
*.sublime-* is used by sublime text editor.
*.swp is used by vim.
Also ignore log files.