add function of historyserver

automatically delete the log if setting spark.history.fs.maxsavedapplication.enable=true