removed rootFunc
[pseudos] fixed implementation of nth(-last)?(-of-type|-child)\(n\)

now ensures there is a parent element
[index] abstracted away some shared logic in select(All|One)
[compile] semantic changes