Fixed #31, configuring invitation codes

You can add a required invitation code for user registration in the
configuration. By default this setting is disabled.