SPARK-1124: Fix infinite retries of reduce stage when a map stage failed

In the previous code, if you had a failing map stage and then tried to
run reduce stages on it repeatedly, the first reduce stage would fail
correctly, but the later ones would mistakenly believe that all map
outputs are available and start failing infinitely with fetch failures
from "null".

Conflicts:
	core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
Fix removal from shuffleToMapStage to search for a key-value pair with
our stage instead of using our shuffleID.
Merge branch 'master-csd' of github.com:clearstorydata/incubator-spark into master-csd
Merge pull request #1 from markhamstra/master-csd

Backport SPARK-1124 fix
[maven-release-plugin] prepare release spark-parent-0.8.2-candidate-csd-2