raft: add a unit test for voting
raft: add a unit test for voting

Test duplicate votes, votes from non-members and voting
in joint configuration.

scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla