s/parent/child

Swap parent/child nomenclature.  Similarly for ancestor/subexpression.

cc @mwiebe