SPY-138 DAGScheduler job <--> stage accounting

Not sure if these changes will make it into Apache Spark 0.8.x, but this PR cherry-picks and merges the DAGScheduler job <--> stage accounting commits that are now in Apache Spark 0.9.0-SNAPSHOT.