Reflect updated Travis SDKs.
Extract named and numeric entity lookup to its own file.
Escape and unescape HTML entities in strings.

A bunch of this functionality was already present in the tokenizer, so now this
expertise is available for strings in general.