Baghdad is the world's most dangerous city according to a new index - but the risk of terrorist attack in European cities has risen sharply in the aftermath of the Charlie Hebdo terror attacks.