CMS-4617 User Manager - User wizard: add memberships and validation

Added validation.
Fixed several bugs.
Updated the `EmailInput` implementation, so that the unchanged e-mail
will be also valid.
Merge pull request #1073 from enonic/CMS-4617

CMS-4617 User Manager - User wizard: add memberships and validation