Following a few coverity scans, several inconsistencies / potential bugs have...
Following a few coverity scans, several inconsistencies / potential bugs have been fixed. Since my commit to picojson got merged, the newest version of picojson has been taken.