User can create, modify, and destroy votes to post using AJAX

@liantics , @garthgoldwater 
you could extract this if statement into a method. if you wanted to go totally crazy you could extract both of them into a single helper method. at the very least it would make the controller shorter. you could name it/them something like 
change_downvote or change_vote(direction)