Modify .gitignore to hide files generated by Emacs.

We don't want to save session and backup files, so we hide them so they
don't get committed accidentally.