Issue #2546480 by njbarrett: Remove all whitespace in email_registration_cleanup_username
Issue #2257201 by njbarrett: Followup - make uid truly optional in email_registration_unique_username
Issue #2527010 by greggles: Keep the email value in form state for further validation
Issue #551626 by greggles: slow query in email_registration_user_login_validate
Fix validation error
Issue #657472 by andypost: Fix broken test, clean-up test
Issue #2360037 by kallehauge, Petrica, andypost: Refactor code for Drupal 8 beta 9
Issue #2257201 by evilehk, greggles, awardell: Make uid truly optional in email_registration_unique_username
follow-up for #697760
Issue #657472 by thePanz, joachim, greggles: Add setting to allow users to login with email address or username
Issue #423920: Prevent race condition in account generation code by adding uid to name
Issue #2188837 by greggles: coder cleanup for email_registration
Issue #1911574 by jdleonard: Integrate with Inline Registration
Issue 2166607 by Dudytz: Form_alter of user edit page does not work
Issue #1996664 by greggles | joachim: Don't change the password reminder form too much
Reverting accidental commit of #423920
Issue #2080615 by andypost: Clean-up docs for current standard.
Add type for return value
Initial conversion. Works and passes tests.
Issue #1903646 by aadityawalawalkar, greggles: Separate cleaning of names from unique check in email_registration_unique_username: fixing single spaces replaced by underscores
Issue #377262 by greggles: Test that immediate login works if enabled, remove code that forces the login
Drupal is a registered trademark of Dries Buytaert.