The fight between the New York Stock Exchange and Nasdaq to win new stock listings is raging again, in another sign the market for initial public offerings is perking up after a long slumber.