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

- changed XML escaping to charwise replacement
- seperated drafts on import
- improved access modifiers