Reset readline delimiters after loading rmagic.

Closes gh-2759
Merge pull request #2763 from takluyver/rmagic-readline

Reset readline delimiters after loading rmagic.