Pinto-ize PackageLocator.

Now that PackageLocator is part of Pinto, we can use the
types that Pinto already provides.
Bring over tests from the old Package-Locator dist.