Fixed memory leak in DAGScheduler- needs more tests under error conditions.
Fixed a merge issue.
Removed copyright
Merge pull request #4 from jhartlaub/master-csd

Remove cruft from DAGScheduler after job is completed.