test that tinyprintf compiles with various TINYPRINTF_* combinations
add snprintf/vsnprintf/vsprintf + tests

Note that these functions are supposed to return the number of chars
stored, this changes slightly the data structure they pass to
tfp_format.
set explicit C linkage
let gcc warn when printf params types don't match format