Edit SwaggerOperation.prototype.urlify to check if query is undefined an...

Check that query parameter is defined before appending to url. If param is undefined and required throw error.

Issue #158