Ratings firm Moody’s has downgraded South Africa’s credit rating to below investment grade, after three years being the only major firm to keep the country’s head above water.