started to switch xmllint to use xmlSaveDoc to test #342556 fixed #342556

* xmllint.c: started to switch xmllint to use xmlSaveDoc to test
  #342556
* xmlsave.c: fixed #342556 easy and a whole set of problems with
  encodings, BOM and xmlSaveDoc()
Daniel
3 files changed