There were tears, surprises and fabulous outfits - as one of the biggest nights for UK television took place.