use current (thread-safe) xhtmlrenderer
replace tidy with validator.nu parser

As far as I can tell, tidy is still not thread safe and therefore
completly unfit for use in a server process.
.gitignore tweaks