activitypub: utils: add determine_explicit_mentions() and tests