For 13 years, 22 series and 175 shows, Richard Porter was script editor of Top Gear, from the first faltering pilot episode in 2002 until…