toXml unnecessarily encodes text nodes

-Text value found within text nodes only needs to encode the & and <
symbols to their respective character codes.
-Test case indicates that single quote (and other allowed symbols) will
not be encoded for text node values
To minimize the size of the diff, revert the name of entitiesDefault to entities