Add explicit support for consumes and produces parameters in spec

Enable consumes to modify content-type sent by swagger-UI.

Enable produces to be sent to swagger-UI. As of this commit swagger-UI doesn't seem to do much with the parameter, however it is described in the 1.2 spec.

I've made these explicitly included to ensure that these parameters are passed, even if something changes in the custom parameter setters (starting line 541).
Merge pull request #56 from paulhill/master

Consistent references to models export
Merge pull request #66 from paulhill/master

Adding Array and enum
Merge pull request #67 from paulhill/master

Adding ability to read json schema v4 required array
Merge pull request #57 from kyriesent/consumes_produces

Add explicit support for consumes and produces parameters in spec
Merge pull request #68 from paulhill/master

Clone models before altering them
removing problematic clone operation
adding clone operation
fixing iteration bug and using _.forOwn()
clean up formatting