Exciton-phonon driven Charge-Density-Wave and Superconductivity in TiSe$_{2}$