Throw an error if already resolving.
Implement renaming to index in the FsResolver, fix minor issues.
Some changes to the resolver API, add more tests.