Replace XML serializer in plaintext export
Fixes #342
Alternative to #929

- using regex pattern/matcher to escape chars below 0x0020 and above 0xd7ff
- using String.Replace to escape XML entities
- changed XmlPullParser from Xml.newPullParser() to XmlPullParserFactory parser to fix import on GB