Changed email validation pattern

Changed email validation pattern to support of localized domains
(double byte)
Added some basic tests