py3 workaround for reload in cythonmagic

closes #3007
Merge pull request #3013 from minrk/reload

py3 workaround for reload in cythonmagic