Ease developing with Emacs & Mercurial

This request provides a .hgignore based on .gitignore, and a .dir-locals.el which should make it easier to conform to the coding style when using Emacs.