Add jq_report_error() function; use it

    Put a stop to fprintf(stderr, ...) where we shouldn't.
Add JV_ARRAY() macro
Add JV_OBJECT() macro