Qatar er så godt som færdig ved VM, efter Senegal vandt fredagens gruppekamp mod værtsnationen med 3-1.