log and friends: --second-parent

Introduce an option '--second-parent' to the revision walker which walks
the second parent if present, or else the first parent.

This is useful for walking a side branch from the merge point downwards.