Improve logic organization
Pass full dep configuration to resolvers
Support optional requires

Optional requires must be wrapped in try/catch and on that basis
they're distinguished.
v0.3.28