Added code for leader to try to elect itself.
Bringing election proposals more into line with raft protocol.
Handling case of receiving election proposals and sending responses back.