Make the local database more compact by only storing, for each snapshot, a
listing of the segments it uses and the fraction of each which is used,
instead of listing all objects referenced individually.
This commit only adds the new table; it doesn't yet delete the old table
(snapshot_contents).