Some initial ground work for creating a generic resolver as the first step for supporting require-bundle (FELIX-28).