[SPARK-2889] Create Hadoop config objects consistently.

Different places in the code were intantiating Configuration / YarnConfiguration objects in different ways. This could lead to confusion for people who actually expected "spark.hadoop.*" options to end up in the configs used by Spark code, since that would only happen for the SparkContext's config.

This change modifies most places to use SparkHadoopUtil to initialize configs, and make that method do the translation that previously was only done inside SparkContext.

The places that were not changed fall in one of the following categories:
- Test code where this doesn't really matter
- Places deep in the code where plumbing SparkConf would be too difficult for very little gain
- Default values for arguments - since the caller can provide their own config in that case
IMO this should not even be using SparkHadoopUtil, as mentioned above; it should just create a `new Configuration`. It's okay if it doesn't get the `spark.hadoop.*` properties, after all you're doing this before initializing a SparkContext.