Changes to enable validation for objects generated by InputFormatters.

UnitTests + FunctionalTests for the same.
Could you get this error message as `var errorMessage = new MinLengthValidationAttribute().FormatErrorMessage("UserName");`