Fix ItemsController#archive not returning correct items.

This also sets proper date format when viewing archive for whole year or specific year/month.

Fixes #93.