Archive extension

Provides per-day archives and full non-hierarchical archives (see Issue #1493).
That’s not necessarily how this should be done, but I’ll fix that for you when it gets merged.