Added Backtracking context manager to iotools.

Cleans up ScoreManagerObject.