Allow the prefix key to come from a previous variable

On request of LOGSTASH-913
Merge pull request #647 from electrical/kv_key_from_var

Allow the prefix key to come from an sprintf string (field reference, etc)