Invite form templates

Allow custom templates to be specified through settings.  The default templates are used unless the settings variables exist.