Add support for 'entityhex' encoding/decoding

  * Support HTML hex entities, like &#x3c; as < etc.