Merge pull request #7067 from andyque/work_on_binary_version

fix cocostudio binary format parsing
minor bug fix, make studio parser more robust
fix json custom widget reader
done