Sam Mendes'new First World War epic is inspired by his grandfather's war stories and executed with a steady technical hand.