add basic voting functionality

You can vote once without being registered; ProposalVote table now has
one PrimaryKey (an id) instead of two ForeignKeys (it's simpler for
now); Switched from 'form' button to 'a' button to cast vote;