Explain how the assassination of Franz Ferdinand and the decision of many European Empires to embrace imperialism, nationalism and militarism led to a war that spread throughout the continents of Europe, Asia and Africa?