[WIP]SPARK-2098: All Spark processes should support spark-defaults.conf, config file

It's weird for methods like this to close the input stream argument. This makes it really hard to use them when your input stream is a `java.util.zip.ZipInputStream`, for example.