Work toward making fossil work better on large repositories.
This version implements a cache in the content manager.  It is not
clear yet if this is necessarily a good idea - this check-in might
end up on an abandoned branch at some point.