Affine Temperley-Lieb algebra at roots of unity and logarithmic conformal field theory