[ticket/10073] Add tests for new validate_email()

PHPBB3-10073
[ticket/10073] Use phpbb_validate_email to verify email address

PHPBB3-10073