Make HTML validation test safe (sort of fixes #227)

Prevent failure to connect to html5.validator.nu HTML validation
service from causing test failures.
Merge pull request #228 from ian-ross/safe-html-validation

Make HTML validation test safe (addresses some of #227)