fix export/import notes (export notes for all bionetities and escape xml)

32 jobs for 1299-html-tags-in-gpml-comments in 10 minutes and 49 seconds (queued for 1 second)