Updated info on committing notebooks in CONTRIBUTING.

Script given now reads nbformat from notebook. It now works with
notebooks written in IPython v2.3 and IPython v3, regardless of the
IPython version installed on the computer.
Updated heatmap example for IPython v2.3.

Remove use of tolist().