The battle between religion and science, competing methods of knowing ourselves and our world, has been raging for many centuries. Now scientists themselves are looking at cognitive foundations of religion--and arriving at some surprising conclusions. Over the course of the past…