added a check connectivity method but haven't actually tested it.
Merge pull request #271 from rjynn/elasticSearchDev

added a check connectivity method but haven't actually tested it.