Nbconvert and unicode variable names

Select the highlighting lexer for pygments based on the notebook
kernelspec metadata from codemirror.
This fixes https://github.com/ipython/ipython/issues/6618