escape xml entities for html output

Depending on the charset, more entities need to be escaped but this is left
to the user.
cleanup: using namespace llvm + other code simplifications

Simplify TokenFilter class by making use of tok::eof, add TemplateDecl to the
ast printer and add more initializer_list overloads by the unit tests.