Fix ItemsController#archive not returning correct items.

This also sets proper date format when viewing archive for whole year
or specific year/month.
Merge pull request #131 from refinery/issue_93

Fix ItemsController#archive not returning correct items.