The modern era is often seen as the triumph of science over supernaturalism. But what really happened is far more interesting ...