add .parentsUntil() in core

.parentsUntil() created based on .parents() code. No tests was made, but some one can do it.