Clean up list/array handling for Swagger models

The Swagger metadata should be the same for generic list types and
regular Array types; added the GetListElementType method to make it
possible to handle both types with the same code. Also, this fixes
missing model schema info for responses of Array[SomeComplexType].