Canonicalize import specifier before inserting it in registry
Use GFile to canonicalize import specifier so that when we import two different URIs or relative paths that refer to the same location, we don't get two copies of the same module.
Closes: #577 (closed)