Version the resolver.

This will allow us to determine internally if we are using global lookup
(`lookupType === 'global'`) or module lookup (`lookuptType ===
'modules'`) and what version of that particular `lookupType`.