For stock investors, it was a bumpy year, rough fourth quarter, and brutal December