.gitignore: Add backup files

Some editors, for example Emacs and Vim, use "filename~" and
"#filename#" for backups.