Earnings poised to stoke confidence in a stock market that has rebounded to all-time highs. Here’s what’s ahead