Better mandatory values check

Swagger defines responseClass, basePath, apiVersion, swaggerVersion as mandatory so the generator should check if it's correctly setted.

Swagger also defines that the responseClass should be "void" when no response expected, so, generator should accept this value.

As this pullrequest breaks backward compatibility, the version goes from 1.4.2 to 1.5.0.