[WIP][SPARK-2340] Resolve History Server file paths properly

We resolve relative paths to the local `file:/` system for `--jars` and `--files` in spark submit. We should do the same for the history server.

TODO: make sure event logs are also resolved properly.
TODO: test this on standalone and YARN clusters.