feat(options): `target`, `query`, `headers` can be functions

If a function, it will be passed a FlowFile, a FlowChunk object and a isTest boolean
fix(sample): nodejs sample