Quasi-matter bounce and inflation in the light of the CSL model