Fixing the api generation

* Added 1.4.2 and 1.5.0 cache files (compatible with for 1.4.* 1.5.* foreman
  instances)
* Added missing create_* methods
* Improved the cache logic
* Added json cache files to the package
* Api v1 is the default to be backwards compatible, adding a warning to
* let people adjust, next version will have the version 2 as default