Merge pull request #147 from minrk/invalid-notebook

turn any exception rendering a notebook into 400