How the mass production of the quick-firing machine gun brought whole armies to a halt, drove millions of men underground, and ushered in a static trench warfare with casualty figures that meant soldiers had only a 50-50 chance of returning home unscathed.