Better error reporting with renaming imports
Add test for resolution errors
Add span to some import resolution errors