“Explosive” evolution of galaxies (an analog of collapse) and appearance of quasars in the merger model