Anyonic Chains, Topological Defects, and Conformal Field Theory