Golog: new Util.dooIO for online/offline execution.

Util.dooIO allows execution to be mixed online/offline execution, where
during offline execution one may choose either BFS or DFS.