Evolutionary origin of religion

You might find the discussion on this fairly recent thread relevant to your questions: