McDonald’s compiled a 515-page dossier on one of its loyalty-program customers — using years of fast-food purchases to predict how often he would return, how much he would spend and even what he was ...