Fixes use of slow cJSON functions.

cJSON_GetArraySize and cJSON_GetArrayItem were the culprits.
fixed sscanf slowness
Added reset_interruptor to datum_stream_t, called it in stream_cache.
added error handling to parse_number
Fix gen-test-report.py script

OTS review by @mlucy
Merge branch 'json_optimizations' into next
Merge branch 'v1.9.x' into next
Merge branch 'next' into sam_1328_i

Conflicts:
	src/rdb_protocol/datum_stream.hpp
Merge branch 'sam_1328_i' into sam_1328_ii

Conflicts:
	src/rdb_protocol/datum_stream.hpp
Merge branch 'sam_1328_ii' into sam_1328_iii
Merge branch 'sam_1328_iii' into sam_1328
Removed the reset_interruptor function that broke compilation, which comes from the temporary fix for #1411.