Introduced a factory for codegen data containers

Continuing https://github.com/swagger-api/swagger-codegen/pull/340:

* Missing model elements added
* Moved parameter/response generation code to dedicated methods so that subclasses may extend it