checkout of foreman_api

+ fixes in other checkouts