Bug 1081040 - Internal API, part 2: Resolver. r=gandalf