Homogeneous Spaces with Inner Metric and with Integrable Invariant Distributions