HTML encoded log output

HTML encoding log output in CsrfGuardFilter and Log to help prevent XSS attacks in web-based log viewing utilities.