Added method to decode HTML entities and normalize line feeds. Including tests.
Overhauled Validator to be much more precise and restrictive, including tests.