Input folds should return maybe_partial_res types.

src/json.m:
src/json.json_parser.m:
	Make the object fold predicates return maybe_partial_res
	types.

	Fix the handling of trailing commas in object members lists,
	in object folds.