W3c validation - DO NOT MERGE

Enhanced error tests and scripting for w3c validation