revision-walk: --parent option to find children of a parent

Introduce a new --parent=<commit> option for the revision walker which
limits the commits to those which have <commit> as one of their parents.

This allows to check, e.g., whether <commit> is a fork point, or to list
all direct forkees easily (without grepping --parents output).