lib: config: new option 'cupt::resolver::max-leaf-count'
test: TestCupt: limit leaf count to 1000000