Thrift5272: cpp: add test for handling i8 type in printTo()

Compare output of printTo() with known expected strings.

Also fix some whitespacing, while at the files.
4 files changed