[SPARK-4449][Core] Specify port range in spark

In some case, we need specify port range used in spark, such as firewall.
Have used ```startPort``` and ```endPort``` for range,  Using ```port``` here also make sense