Markdown extension matching matches only exact matches

The current markdown processor is too general I think.  Currently if you have, for example, a .md extension added to the `markdown_ext` list then any extension containing md will also be processed by the markdown converter.  I don't think this is expected behavior and it prevents me from using, say, .mmd files to the multi-markdown converter.

This change fixes that.