SPARK-1154: Add a periodic task to clean up app directories

This adds two config params:
  spark.worker.cleanup_interval
  spark.worker.app_data_ttl