Added elasticsearch lua module and es_payload encoder to replace

`format = "payload"` config option from v0.5.2.
add_to_payload(idx_json, "\n") will prevent the allocation and GC of header JSON