From the New York Times to Gawker, a behind-the-scenes look at how performance analytics are transforming journalism today—and how they might remake other professions tomorrow