Renamed formatterEmitXXX() functions to formatterPrintXXX().

Also changed some of the names to be more precise:

  formatterEmitUnicode() --> formatterPrintUnicodeEntity()
  formatterEmitPreamble() --> formatterPrintBeginningOfDocument()
  etc.