Add support for outputting RSS feeds
Improve RSS template
Export Site.sortPostsByDate() and use it for sorting

This avoids creating a function inside for-loops by reusing the same
function over and over.