Add support for emitting Document-End-Tag directly after document-write

This is optional and has to activated through YamlConfig.WriteConfig.setExplicitEndDocument(true)