add additional duplicate dependency example to tests

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
implement resolved_dependency_applicator class

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>