fixed wrong api implementation for state (should be updatesettings), adding state API, added ClusterSettingsReponse so you can see what was set.