After decades of ambivalence, document prepared by clergy says hundreds of priests gave spiritual guidance to Hitler's soldiers on front, 'lent war an additional sense of purpose'