Performance improvement for the JSON packer (using "python-cjson")

This adds support for using the faster "python-cjson" library (if it's installed) and some minor retouches that end up resulting in a marginal performance improvement. The code was run through the "2to3" tool and some low hanging fruit was changed, but the library still doesn't work with Python 3.x.