Checks for ElasticSearch 0.9x and 1.x

`/_cluster/nodes/_local` has been retired with ES 1.0, so this check does not work anymore.
By identifying the cluster version before running the check, we can adjust the URL based on the version.

This has been tested on ElasticSearch 1.0 and 0.90.11