feat(template-finder): make the finder more generic

The finder now takes an array of patterns to match against templates.
This makes is more configurable with less need for a custom finder.