[SPARK-2894] spark-shell doesn't accept flags

As @sryza reported, spark-shell doesn't accept any flags.
The root cause is wrong usage of spark-submit in spark-shell and it come to the surface by #1801
Hmm, I'm afraid only adding double quotes doesn't help, the case I mentioned above still fails, and the `pyspark` trick can be helpful. And we only need to deal with the argument part of those options that need an argument.