Refactor participant consent link helper #3389

Shows the new link if the participant does not
have a consent by type or the consent is not associated with
the event for the given contact link.

Shows the edit link otherwise.
Update consent tab view #3389