[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.

Replaces https://github.com/phpbb/phpbb3/pull/878

http://tracker.phpbb.com/browse/PHPBB3-10896