Devil's staircase phase diagram of the FQHE in the thin torus limit