(PUP-2682) Allow trailing comma after node matches

This adds the ability to have a trailing comma after the last
match in a node expression.