Torsion and distortion in automorphism groups of subshifts