support for _cluster/state rest API
signature fix
Merge pull request #67 from joachimdb/master

support for _cluster/state rest API