Vault: add limits for the max size of the objects that can be cooked
This should be done by two different ways at the same time: first, try to estimate how big a repository will be with some algorithm discussed with @rdicosmo and second, while we're cooking the bundle, stop after some threshold limit of objects written has been exceeded.
Migrated from T894 (view on Phabricator)