whitespace+formatting fixes, remove dump_scratchpad_to_file_debug
add printf format function attribute to applog and fix found errors
save scratchpad if we received over 720 addendums, use size_t params with json_array_size
-D__USE_MINGW_ANSI_STDIO=1 on windows (clintar)
whitespace fixes

vim settings:
expandtab softtabstop=4 shiftwidth=4 ts=8
update .gitignore