Fixing invitation and registration features.
Added EmailTemplates for membership invitations.