Move IPNS resolutions into the core library via the pathresolver.go file. Fix the CLI commands to leverage this core component.