start of simplifying ipython notebook use
fix string format error bugs and adapt examples

* adjust examples to new format
* simplified notebook related code
make format conform with flake8 for travis CI
Merge pull request #100 from Midnighter/ipynb

Change the IPython Notebook integration