Stocks went on a roller-coaster ride Thursday, as investors parsed through positive news in U.S. and Europe. After storming out of the gate in the morning, the Dow and S&P 500 bounced between positive and negative territory before a late rally put both firmly higher.