[API] [1.0] Updated the "Cluster State" API to the 1.0 changes

Related: elasticsearch/elasticsearch#4608