Issue 3179: Coauthor notifications. Escaped HTML

Concatenation of sorts requires an additional .html_safe. Also made it so the mailer either says 'invitation' or 'invitations' depending.