Group bookmarks by date

I'm grouping in Ruby because I don't yet have to worry about the efficiency of
this operation.

I've had to change the test for the ordering of the bookmarks as it's hard to
detect that one comes before the other in the markup, now that they're grouped
in sections.