Add failing test for gh-3459
Add failing test for completing arguments after '%run foo.py '
Improve matching files after script name for magic %run.

Closes gh-3459
Add failing test for duplicate dirs in completions
Fix duplicate directories in %run tab completion
Partially normalise paths for Windows tests
Merge pull request #4895 from takluyver/i3459

Improvements to %run completions