[SPARK-2322] Exception in resultHandler should NOT crash DAGScheduler and shutdown SparkContext.

This should go into 1.0.1. 
I'm going to add a check for accumulators. Good catch. However, I don't know yet if we want a wider catch because for some changes it might be bad to change the state. That needs a more careful review of this code block.