Rings of finite representation type, of pure global dimension zero, and Mittag-Leffler modules