massinvite script

This adds a script for managing invitations. It does basically the same thing as `/settings/members_import` but does not suffer the limitation of browser- and server timeouts.

A badge is used to mark invited users. Invitations can also be renewed (a second email with a new password is send) or revoked (the user is marked as deleted). Uninviting means removing the badge.