Add nbgrader extension magic

Allows cells with jinja templates with the "solution" variable to be rendered.