added models and migrations for postvotes and commentvotes
addedupvote logic
solution to hacker news