Fix return type of NSTreeNode representedObject - should be NSObject

As per: https://developer.apple.com/library/mac/documentation/cocoa/reference/NSTreeNode_class/Introduction/Introduction.html#//apple_ref/occ/instm/NSTreeNode/representedObject