Skip deletion of files in clearFiles().

This fixes an issue where Spark could delete
original files in the current working directory
that were added to the job using addFile().

There was also the potential for addFile() to
overwrite local files, which is addressed by
changing Utils.fetchFile() to log a warning
instead of overwriting a file with new contents.

This is a short-term fix; a better long-term
solution would be to remove the dependence on
storing files in the current working directory,
since we can't change the cwd from Java.
Add synchronization to LocalScheduler.updateDependencies().
Add addFile() and addJar() to JavaSparkContext.
Change Utils.fetchFile() warning to SparkException.
Merge pull request #345 from JoshRosen/fix/add-file

Fix deletion of files in current working directory by clearFiles()
Raise exception when hashing Java arrays (SPARK-597)
Mark key as not loading in CacheTracker even when compute() fails
Test with exception while computing cached RDD.
Remove some dead comments
Merge pull request #348 from JoshRosen/spark-597

Raise exception when hashing Java arrays (SPARK-597)
Merge pull request #349 from woggling/cache-finally

Avoid stalls when computation of cached RDD throws exception
Add PairRDDFunctions.keys and values.
Add RDD.collect(PartialFunction).
Merge pull request #352 from stephenh/collect

Add RDD.collect(PartialFunction).
Fix typo.
Fix Accumulators in Java, and add a test for them
Add methods called just 'accumulator' for int/double in Java API
Merge pull request #351 from stephenh/values

Add PairRDDFunctions.keys and values.
Add PairRDD.keys() and values() to Java API
Add Accumulable.setValue for easier use in Java