Add grn_text_printf() and grn_text_vprintf()

TODO: Document it.