Add jsonEOF, jsonEOF', and make the decode* functions use jsonEOF rather than json parser
Merge pull request #130 from Peaker/master

Fix lazy I/O leak and trailing garbage ignore bug in decode functions