Proportionality and Fairness in Voting and Ranking Systems