Implement MasterElection

Add ```CHECK_NE(node_id, kNoBacking)```, just in case. :wink: