Added support for parentsUntil

I've added support for parentsUntil(...) including docs and tests as described in issue #1