Senate
- Replaced $latestProposal and senate_getLatestProposal by the use of end($this->proposals)
- Fixed error in senate_vote in case of a veto