[ticket/10896] Adds email validation to email settings in ACP

Adds a new validation type to the ACP validate_config_vars function
and implements it on the board_contact and board_email settings.

PHPBB3-10896