new toElasticsearch block works with current version of elastigo

addresses issue #546 - replaces the toElasticsearch block with a version that works with elastigo. no godeps nightmares anymore.