properly handle "like-of" posts

refactors checking for like-of, repost-of, in-reply-to, and rsvp so that it works for plain URLs as well as h-cite objects