Adds "parent" selector

Adds a “parent” selector in addition to the existing “target” selector,
and causes the class update to effect the immediate parent of the
target element.