[SPARK-1361] DAGScheduler throws NullPointerException occasionally

this is an order issue of construction and starting of the taskScheduler and the dagScheduler in SparkContext. now taskScheduler start before dagScheduler, so executor backend may register executor even before dagScheduler(or the eventProcessActor) has not initialized. in this situation it will throw NPE