Implemented a StreamingXMLWriter

See https://bugs.launchpad.net/oq-nrmllib/+bug/1215432