In 1914 Otto Dix joined the German army as a fierce patriot; two years later he was mowing down British soldiers at the Somme. Yet few artists did more to reveal the true horror of the first world war. Jonathan Jones chronicles a great pacifist rebellion
342