GTNPC-108: use false instead of null to denote not wanting XML escaping.
GTNPC-108: properly call write(writer, true) from write(writer) per JSR-286 spec.
GTNPC-108: Added test cases