commit: Make Mercurial ignore patch .rej files, Emacs autosaves, and Emacs lockfiles.