Add functional voting for proposals and code for voting on comments