An unpredictable, brilliant year in the sport ended with Temba Bavuma’s side making the World Test Championship final with a nail-biting win over Pakistan