Almost-Riemannian Geometry from a Control Theoretical Viewpoint