Move year/month/day generation to separate file

It was the longest thing in helpers.rb, and it was kinda getting in my
way when I read the code. So I moved it.
Add summary support

Paginated indices can now display a summary of an article, instead of
the whole thing. See the README.