add helper functions and test for getting parents, descendants, and siblings+filtering nodes
closes #48
add helpers to palette