[IMP] Secondary email confirmation

- Sent an email to the user in order to confirm the email address belongs to him.
- Closes #914
[FIX] Some fixes regarding secondary email control
[MIN] Migrate all secondary emails to lower case
[FIX] Escaping in badge editor