Apparatus for laying down the liquid, pasty or solid materials in moulds or drop-by-drop, on a surface or an article being completed, optionally with the associated heating, cooling, proportioning, cutting cast-tail, antidripping device