After a string of world-shaking events America’s spies failed to predict, most recently the turmoil sweeping the Arab world, a vast project is taking shape to improve forecasting. It involves thousands of volunteers and the wisdom of crowds.