Jacob Zuma's resignation as president of South Africa brings an end to his nine scandal-plagued years in power.