Change storage plan for resettable layer.

Instead of storing a list of revisions, we just store a single "number
of resets" integer, which we increment every time we reset.