Notebook CasperJS tests

[ not for 1.0 ] 

This PR is a starting point for testing the notebook with CasperJS.

See also:
https://github.com/ipython/ipython/wiki/IPEP-14:-Notebook-Regression-Tests