Add mima plugin. In VersionedKeyValSource.scala, add back the old constructor for binary compatibility.

And add deprecated warning.
Add more comments.
Resolve conflicts with origin.