adding votes, hidden and priority attributes for replica set nodes