From Heavy Fermion and Spin-Glass Behavior to Magnetic Order in CeT4M Compounds