Update salt-api to use the new client api

This does make salt-api not work with older versions of salt,
we should add checks to be more backwards compat