Enable kv filter to handle duplicate keys.

"foo=bar&foo=baz" will now yield "foo => [bar, baz]" instead of just
"foo => baz", (last value wins).
Merge pull request #622 from bodgit/kv

Enable kv filter to handle duplicate keys.