Merge pull request
#1161 from ipython/loadpy-fixes...
Merge pull request
#1161 from ipython/loadpy-fixes
Allow %loadpy to load remote URLs that don't end in .py.
Also strip encoding declarations from loaded files, which are invalid for interactively defined strings.