update headers
Update to groovy 2.2.1

Closes #17.
Added support update closure and updateRequest.

Closes #14.
Move tests to elasticsearch test framework

Closes #16.
prepare 1.x branch