GROOVY-6125 Fix/enhancement for GPathResult .parent()

See JIRA for description.

All previous tests still work, even those implicitly relying on the current behavior of .parent(), which is now available via GPathResult.pop() method. Included two additional test for .pop(). This fixes a problem with an existing test, bringing the XmlSlurper GPath more in line with the XmlParser GPath.