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

In some case, we need specify port range used in spark, such as firewall.
seems a bit odd here to be grabbing the spark conf out of the securityManager.  Generally it would be better to pass into HttpServer itself.  I'll leave that up to one of the core committers though.