Updates to sacs_printf
Extracting out common formatting between snprintf, fprintf and printf.
Added sacs_format.h
Added tests