s/get_client()/client/
Add loopvars() xpath helper (stronger loopvar())

loopvars() returns all loop variables in scope.