SPARK-1051. Executors should doAs submitting user when running on YARN.

Verified on a pseudo-distributed cluster by saving an RDD to HDFS and verifying that the file was owned by the submitting user and not the yarn user.