Fixed: trans mishandled Alt nodes.

The helper trans' called trans instead of trans' which led to full
execution when it hit an Alt node.

(The doo function is on the way to Golog.Util in the next commit.)
Restructured the doo, doo' etc. functions.