CNBC's Jim Cramer said August was a comeback month for stocks that had been battered by bearish narratives.