Add capability to extend all relations on model with named extension
modules or block.

This provides an entrypoint for gems to add custom finder or
factory-like methods, or override existing methods, to all relations on
a particular model, including associations. Doing this avoids the need
to monkeypatch ActiveRecord::Relation.