Fix issues with emailRegexPattern.

This resolve issues with `emailRegexPattern` not being up to date w.r.t. new TLDs longer than four characters. While I was in there I also made the matcher case insensitive.

fixes #1634 
I think it'd be clearer if we want the insensitivity to apply throughout to apply it as the second flags parameter to `compile` rather than in the regex.