mod_signup: Allow signups with email only

Added a configuration flag to set the username equal to the entered
email address on submit.

Also document the other configuration values that can be set.
(cherry picked from commit 0130f2864561b27d4dfb7218fb580b110e38e5e6)