providing and using "containedInParentsOf" function
replacing slice(0) with concat() and jsperf says it's quicker
renaming "allParents" to "allParentsTopToBottom"
rejigged implementations of allParents* methods so it should all be faster now
minor comment