Add support for childpath as a function
Fix bug with getting childpath
Add ability to pass functions as paths
Add support for children to be contained in an object instead of an array
Update