Political ambushes, security scandals and urban decay defined the year’s most "surprising" moments for the president