convert IPython syntax to Python syntax in nbconvert python template

adds ipython2python filter
Merge pull request #3749 from minrk/pytransform

convert IPython syntax to Python syntax in nbconvert python template

adds ipython2python filter and uses it in python.tpl