Add per-TypeName max methods mechanism (#44426)
Allows overriding the max-methods default for specific generic
functions that are known to benefit from a different value of
max methods. Also replaces the one case in Base where we're
already overriding max methds by this new mechanism.