These quotes from famous investors and historical figures can help you stay grounded no matter the mood of the market.