SPARK-1659: improvements spark-submit usage