It was a crash course in handling volatility: Here is how investors and strategists navigated the most pivotal market moments of the year.