Add gitignore and exclude emacs backup files.