Adds ValidationAware interface and a basic array implementation to allow generating validation rules for fields from a config array.