Rename errorResponses to responseMessages to better match swagger json.

Swagger response messages can be used for success and error codes. The previous name only implied the latter usage.

To make existing templates work, still leave getErrorResponses around, but deprecate it.