Enable per-endpoint and per-call versioning
Enable per-endpoint and per-call versioning

* Add an optional argument to the endpoint generator for specifying a
  default version number for that endpoint, default is 1
* Add an optional flag to the endpoint generator for enabling the
  the default query parameters, defaults to true (use the default
  query parameters)
* Add an option argument to each generated endpoint function for
  overriding the default version for that endpoint
* Add a case to fulfilling the promise that handles an array instead of
  an object in res.body

https://seedscientific.atlassian.net/browse/POLIO-780

SeedScientific/polio,SeedScientific/polio,unicef/polio,SeedScientific/polio,unicef/rhizome,unicef/polio,SeedScientific/polio,unicef/rhizome,unicef/polio,unicef/polio,unicef/rhizome,unicef/rhizome,SeedScientific/polio