added check_elasticsearch.pl
added check_elasticsearch_cluster.pl
upgraded library to support multi-thresholds and various utility functions