Convert test to use a dataprovider instead of multiple calls.

Dataproviders are generally a bit easier to work with in the future.
Fix autoLinkEmail() not working when emails are adjacent to HTML.

When an email address is adjacent to HTML it should be autolinked
correctly.

Refs #3656
Merge pull request #3731 from cakephp/issue-3656

Fix TextHelper::autoLinkEmail() near HTML

Refs #3656