Implement the meta/stats API endpoint.

As a pre-req, also implement the first stats hook (archive-download).
The date is holding the date of last change, right?