Exterior differential systems, Lie algebra cohomology, and the rigidity of homogenous varieties