[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
Thanks for pointing that. Newer PR is modified that.
I think the main reason is $1 is not quoted in util.sh.