Ten years ago, military history was a backwater. Now it drives a good deal of publishing, cinema and television. From novels such as Captain Corelli's Mandolin (out as a film next month) to non-fiction blockbusters such as Stalingrad, war is everywhere - and the trend is increasing. D J Taylor discusses the development of the war novel