Added entity decoding.

AST now contains parses entities as Str objects with unicode
characters, not as 'Entity'.  (Like the new C parser.)