City's narrow escape played a central role on a dramatic final night for the first season of the Champions League's new Swiss model format.