Refs #2, adds an upvote table and add-upvote script.

Post objects now have properties called "upvotes" for number of upvotes
and "is_upvoted" for whether the post is upvoted by the current user.