Stocks just posted their best first half in more than 20 years. The direction of the second half could be determined in its first week.