A breakout of rmagic from the main ipython repo