Add nbgrader extension magic

Allows cells with jinja templates with the "solution" variable to be rendered.
I am desapointed by you @jhamrick I would have thought you were using Python 3.  Bad pythonista ! :-)