[resolve] Fix resolve caching problem
[resolve] Prefer resources with fewer requirements.
[resolve] Use resolver wirings for mandatory requirements
[resolve] Use second resolver pass for optional requirements
[resolve] Bump version