Renamed some tests
Improved attribute validation
Encoding is required in text declarations
Added XML not WF tests with external encoding
Split the DTD tokenizer for external entities