Refactor DAGScheduler more to allow testing without a separate thread.
Change DAGSchedulerSuite to run DAGScheduler in the same Thread.
Comment at top of DAGSchedulerSuite