Add coding magic comment to nbconvert Python template

Closes gh-5470
Merge pull request #5471 from takluyver/i5470

Add coding magic comment to nbconvert Python template