The Royals are marching toward one of the best turnarounds in baseball history. Here’s an in-depth look at how they’ve done it.