Fix refList bugs with nested paths

prevRests should probably be removed entirely
Remove prevRest logic entirely

The previous commit broke simpler use cases where prevRest actually
referred to the props array used by treeLookup()
Merge pull request #73 from SLaks/refList-bug

Fix refList bugs with nested paths