Remove active job from idToActiveJob when job finished or aborted

This commit can fix the issue SPARK-793. And our team have tried it on Yarn cluster.
![6471ad85-e4ed-4946-919e-6844941757e0](https://f.cloud.github.com/assets/1321044/757008/bbff1592-e663-11e2-92b0-57838d604c24.png)