Ignore mercurial revision control and .npmignore

This pull request adds support for ignoring Mercurial revision control files, and .npmignore files, to the default configuration patterns.