Jim Cramer compares Trump’s election to two moves in the past and thinks the optimism is here to stay.