[ticket/11579] Add method for validating emails for valid MX and mark as slow

A method for setting up the prerequisities also has been added in order to
reduce the amount of necessary code.

PHPBB3-11579