Allow plugins to modify outgoing group invitation notifications

This just adds a couple of plugin hooks just before the notification is sent to allow others (me) to modify the message on the fly.  I need this because we're wanting to tag any outgoing links/urls with additional parameters for analytics, and currently there's no way to target these notifications with this plugin active without creating a fork.