Changes to enable validation for objects generated by InputFormatters.

UnitTests + FunctionalTests for the same.
```
if (implementedInterface.IsGenericType() && 
   implementedInterface.GetGenericTypeDefinition() == typeof(IEnumerable<>)
```