Reimplement kvplist-merge as adviced by spacebot

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