Add Mercurial extensions.
Fix hgignore pattern for Vim swap files.