Frontrunners Donald Trump and Ben Carson held their own in the third nationally televised Republican presidential debate – but some of the other candidates gained ground on Wednesday evening.