Make winrepo package names work for pkg states

This adds a reverse name map to the repo data that is created by the
winrepo.genrepo runner, and removes some windows-specific code from the
pkg state since we no longer have to work around the fact that winrepo
packages are discovered with their full names.