Archive extension

Provides per-day archives and full non-hierarchical archives (see Issue #1493).
make this:

```py
archdata = {}
```