spark-core - [SPARK-4787] - Stop sparkcontext properly if a DAGScheduler init error occurs

[SPARK-4787] Stop SparkContext properly if an exception occurs during DAGscheduler initialization.
Also, do you think this should be in a try-finally block so that we don't swallow the useful "DAGScheduler could not be initialized" exception if the stop() call somehow fails?