First commit for issue #4942

Torture test a dynamically generated notebook with a very long cell.

Update to fix 4942

Changed the comments to make it clear that 10MB to 20kB was an example.

Fix for Travis CI build

Write JSON file as binary for python 3.3

Dynamically generate the IPython notebook for the test.

Tested with iptest2 and iptest3

Remove utility method and large notebook

Deleting the uncompress utility method (no longer needed)

Small style fix.