Reimplement kvplist-merge as adviced by spacebat

Spacebat in the #emacs channel suggested to use the loop macro.
https://gist.github.com/4595042