Handling carryovers

I'm not merging this one because I definitely want @puls to review it.
(And as for carrying over an entire phase, I don't think that's something we want to accommodate in the data model. Rather, I expect that implementing stats programs will allow the selection of arbitrary combinations of phases to display, and the specification of a default combination to show.)