Added an election id to each election to avoid counting old votes and electing the wrong chairman. New unit test added to test partition healing.