Ariana Grande's five-night run at Brooklyn's Barclays Center was a pitch-perfect fusion of music, live theater and film.