Add repos priority configuration.
Add CONSERVATIVE_UPGRADE option.
Rework candidates selection policies.