Add a favorite button to stories

This adds a button to favorite a story. Popular stories are now sorted by the
number of favorites they have.