Add Comment.parent and threaded sorting of comments

Re assembla-64