Add an empty README file to placate autoconf.
Reformat some code in json_object.c
Check for failures when allocating memory; return NULL and set errno=ENOMEM in a few of those cases.
Thanks to Susant Sahani for pointing out some of these.