Xssfix

I added some HTML encoding to Content Generator.  I think it fixes most (all?) of the issues in the document.  However, I got tired of testing them one by one and didn't end up checking everything.