The German and Russian empires went to war in 1914 despite long-standing ties. Relations remain complicated in the age of Vladimir Putin.