Added opApply to Captures object.

This allows one to iterate through the named subgroups, in addition to the
standard range interface that allows iteration through the capture groups.