add config :action, add _id handling

- add config option "action", defaulting to create.
- when _id is set in event, copy it to action header

These changes make it much easier to deploy application generated ids. Using document_id option has issues when source fields are not present in input data and hence expanded to ""; this leads to duplicate ids. Copying _id when present works fine in both cases.