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.
Excellent idea Josh.