Rename _remove_consecutive_duplicates to _squash_repeats
Update Notebook docstring
Add unit tests
Add tests for notebook. Remove python_to_notebook utility function.
Update plot2rst to generate notebooks
Merge pull request #1 from stefanv/ipython-notebookcreation

Refactor IPython notebook export