[SPARK-2051]In yarn.ClientBase spark.yarn.dist.* do not work

thanks @witgo, you are right, I actually had it backwards.  Because of this line it always make it default to file://.  When we use the env variable for yarn-client or if its specified via the --archives/--files option with spark-class it should default to look in hdfs. That is the previous behavior from 0.9.   

so we should change this to only do the map(p => Utils.resolveURIs(p)) if it is actually reading it from spark.yarn.dist.files.  If its specified in --archives/--files then we shouldn't resolveURI's.