master_state: tuple -> record
(ms,ballot) -> state
Merge pull request #251 from Incubaid/master_state

Master state