The Dow surged above the 20,000 mark for the first time in history as a solid earnings season and optimism over possible Trump policies fueled investor optimism.