This adds the ability to execute API v1 commands when the backend server supports them. It detects the API version supported by the server and adjusts the available commands accordingly. Resolves: rhbz#1779301