Remove a switch statement in Configuration.Builder

There were two identical switch statements for selecting validator in Configuration.Builder and ValidatorFactory. Therefore we need to add a new validator in the both switch statements. I removed a switch statement in Configuration.Builder class to make adding new validator easy and safe.