Updated REST plugin to ElasticSearch 1.4.0