HV-905 Providing a global config for auto unwrapping

An early attempt. Any thoughts on the direction?
I moved this from `ValidatorImpl`. Not sure who wrote it, perhaps I should add the name to the authors' list.