Add %%python2 cell magic.

Closes gh-5442
Merge pull request #5447 from takluyver/i5442

Add %%python2 cell magic