[SPARK-2260] Fix standalone-cluster mode, which was broken

The main thing was that spark configs were not propagated to the driver, and so applications that do not specify `master` or `appName` automatically failed. This PR fixes that and a couple of miscellaneous related things.

One thing that still needs to be addressed is that the jars used must be available on the driver node. In `standalone-cluster` mode, this effectively means these jars must be available on all the worker machines, since the driver is launched on one of them. The semantics here are not the same as `yarn-cluster` mode, however, where all the relevant jars are uploaded to a distributed cache automatically and shipped to the containers. This may or may not be an issue, but is certainly worth a mention at the very least.