reorganize into core plus packages

The "racket" directory contains a pared-back version of the
repository, roughly.

The "pkgs" directory everything else in the repository, but
organized into packages.
fix for `find-relevant-directory-records'

Multiple package-based instances of the same collection were not
handled correctly.