{Reviewer: Matt} Translate XML entities in iFCs, and handle CDATA nodes properly.

Matt, this fixes up XML entity translation and CDATA handling, as discussed yesterday, and adjusts the UTs to test it.