add support for mercurial

Add support for mercurial ignore type.  Duplicate of https://rt.cpan.org/Ticket/Display.html?id=82935