check payload type when returning child

Ensure ChildPayLoadNotLinkedTreeException is thrown if the child being
return is not a LinkedTree.
Comment functions.