Tangent spaces and T-invariant curves of Schubert varieties