Clean StageToInfos periodically when spark.cleaner.ttl is enabled

StageToInfos in DAGScheduler should be cleaned periodically when running Spark Streaming or spark.cleaner.ttl is enabled, otherwise this structure will be accumulated and become very large after a long period.