scmutil: add an optional parameter to matcher factories for a bad() override
Even though scmutil.matchandpats() is documented to warn about bad files,
several callers silence the warning.
context: add an optional constructor parameter for a match.bad() override
Most matcher creation is done by way of a context.
match: add an optional constructor parameter for a bad() override
This will be used to eliminate monkey patching of new matcher instances that
weren't removed in
5984dd42e140::
1a95c57959f6.