Add escaping for apostrophes

This fills out the last standard XML escaped character, the apostrophe to the xmlEncodedString method.