Add nitpicking streak statistics.

This necessitates casting from timestamp to date, which PostgreSQL and
SQLite3 do differently from one another. I'll need to swap the test
database over to PostgreSQL soon so I can get proper test coverage of
this feature :/