Cluster stats support

Closes #497
Merge pull request #909 from elasticsearch/feature/cluster-stats

Cluster stats support