feature(likes): improves compatibility with notification plugins

This allows for example site_notifications about new likes to include a link to the liked entity.

Refs: #7055