Fix nbrun in notebooks with non-code cells.

When you try to run notebooks with the `run` magic:

`% run my_notebook.ipynb`

if the notebook contains non-code cells, it fails...
So I made a little fix to filter the code cells from the notebook passed as argument.