[WIP] Creating an email validator from the original http://www.dominicsayers.com/isemail/ to a more OOP aproach. See https://github.com/symfony/symfony/issues/1581
Every time an invalid character is found at any part of the email an exception is thrown. Currently the message in the exception is a port from the old is_email error constants names, but they should be ported to constants of the EmailParser or translated by the EmailValidator.
There are a lot of warnings all of them into class constants of EmailParser. Some of them have a value used for comparison (like RFC5322_LOCAL_TOOLONG), but most of them don't.
So the idea is to standardize the values of all of the constants maintaining the values for those used for comparisons.