Add support for relative import to %run -m (fixes #2727)

%run is refactored a little bit by side effect :)