added parent traversal function to Object3d
Renamed traverseParents to traverseUp
forgot to change for inside function, traverseUp
formatting to follow proper Code-style
Merge pull request #5658 from Verold/ParentTraverse

Added parent traversal function to Object3d