Support snapshot windows

Part 5...

This is where things start to get more interesting. I'm not at all convinced that the all-important logic in `SnapshotPartition` is correct and will need some serious scrutiny and tests.
Yep. I ran out of time this afternoon and wanted to get this open. I really want to have 110% confidence in the logic, and I currently don't without better tests. Suggestions welcome.