Integrate sbt-mima-plugin.
Backport changes on 2.2.x_2.10 branch.