XWIKI-7552: Switch to HTML5 doctype.

* Add an incomplete HTML5 validator.
XWIKI-10249: Add an HTML5 validator to our build tools.